VersionCode

interface VersionCode

VersionCode interface defines the integer values corresponding to the version codes of various Android versions. These version codes are used to identify specific Android releases in the system.

This interface includes constants for major Android versions and their respective minor releases (e.g., "Lollipop", "Nougat"). These values can be used to perform version checks or comparisons in Android applications.

Author

Swapnil Musale

Inheritors

AndroidVersionCodeImpl

Properties

Link copied to clipboard
abstract val CUPCAKE: Int

CUPCAKE the version code for Android 1.5 (API level 3)

Link copied to clipboard
abstract val CUR_DEVELOPMENT: Int

CUR_DEVELOPMENT the current development version of Android (for testing purposes)

Link copied to clipboard
abstract val DONUT: Int

DONUT the version code for Android 1.6 (API level 4)

Link copied to clipboard
abstract val LOLLIPOP: Int

LOLLIPOP the version code for Android Lollipop (API level 21)

Link copied to clipboard
abstract val LOLLIPOP_MR1: Int

LOLLIPOP_MR1 the version code for Android Lollipop MR1 (API level 22)

Link copied to clipboard
abstract val M: Int

M the version code for Android Marshmallow (API level 23)

Link copied to clipboard
abstract val N: Int

N the version code for Android Nougat (API level 24)

Link copied to clipboard
abstract val N_MR1: Int

N_MR1 the version code for Android Nougat MR1 (API level 25)

Link copied to clipboard
abstract val O: Int

O the version code for Android Oreo (API level 26)

Link copied to clipboard
abstract val O_MR1: Int

O_MR1 the version code for Android Oreo MR1 (API level 27)

Link copied to clipboard
abstract val P: Int

P the version code for Android Pie (API level 28)

Link copied to clipboard
abstract val Q: Int

Q the version code for Android 10 (API level 29)

Link copied to clipboard
abstract val R: Int

R the version code for Android 11 (API level 30)

Link copied to clipboard
abstract val S: Int

S the version code for Android 12 (API level 31)

Link copied to clipboard
abstract val S_V2: Int

S_V2 the version code for Android 12 (API level 32)

Link copied to clipboard
abstract val TIRAMISU: Int

TIRAMISU the version code for Android 13 (API level 33)

Link copied to clipboard
abstract val UPSIDE_DOWN_CAKE: Int

UPSIDE_DOWN_CAKE the version code for Android 14 (API level 34)