AndroidVersion

@Incubating interface AndroidVersion
com.android.build.api.variant.AndroidVersion

Summary

Properties

abstract Int

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

abstract String?

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

Properties

apiLevel

abstract val apiLevel: Int

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

codename

abstract val codename: String?

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