AndroidVersion

public interface AndroidVersion


Summary

Public methods

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.

Public methods

getApiLevel

@Input
abstract int getApiLevel()

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

getCodename

@Input
@Optional
abstract String getCodename()

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