AndroidVersion

Added in 4.2.0

interface AndroidVersion


A version of the Android platform.

This includes support for preview versions that don't have a final API level, but instead use a codename.

Summary

Public properties

Int

SDK version codes mirroring ones found in Build#VERSION_CODES on Android.

String?

Preview versions of the platform are identified by a code name.

Public properties

apiLevel

Added in 4.2.0
val apiLevelInt

SDK version codes mirroring ones found in Build#VERSION_CODES on Android.

codename

Added in 4.2.0
val codenameString?

Preview versions of the platform are identified by a code name. Their API level is usually set to the value of the previous platform.