Skip to main content

AndroidBuildVersion

Android OS version details derived from android.os.Build.VERSION.

This object is exposed as flet.AndroidDeviceInfo.version.

Properties

  • base_os - The base OS build the product is based on.
  • code_name - The current development codename, or the string "REL" if this is a release build.
  • incremental - The internal value used by the underlying source control to represent this build.
  • preview_sdk - The developer preview revision of a pre-release SDK.
  • release - The user-visible version string.
  • sdk - The user-visible SDK version of the framework.
  • security_patch - The user-visible security patch level.

Properties

base_osclass-attributeinstance-attribute

base_os: Optional[str] = None

The base OS build the product is based on.

Note

Available only on Android M (API 23) and newer.

code_nameinstance-attribute

code_name: str

The current development codename, or the string "REL" if this is a release build.

incrementalinstance-attribute

incremental: str

The internal value used by the underlying source control to represent this build.

Note

Available only on Android M (API 23) and newer.

preview_sdkclass-attributeinstance-attribute

preview_sdk: Optional[int] = None

The developer preview revision of a pre-release SDK.

releaseinstance-attribute

release: str

The user-visible version string.

sdkinstance-attribute

sdk: int

The user-visible SDK version of the framework.

Possible values are defined in: https://developer.android.com/reference/android/os/Build.VERSION_CODES.html

security_patchclass-attributeinstance-attribute

security_patch: Optional[str] = None

The user-visible security patch level.

Note

Available only on Android M (API 23) and newer.