AndroidBuildVersion
Properties
- 
          base_os(str | None) –The base OS build the product is based on. 
- 
          code_name(str) –The current development codename, or the string "REL" if this is a release build. 
- 
          incremental(str) –The internal value used by the underlying source control to represent this build. 
- 
          preview_sdk(int | None) –The developer preview revision of a pre-release SDK. 
- 
          release(str) –The user-visible version string. 
- 
          sdk(int) –The user-visible SDK version of the framework. 
- 
          security_patch(str | None) –The user-visible security patch level. 
Properties#
class-attribute
      instance-attribute
  
#
base_os: str | None = None
The base OS build the product is based on.
Note
Available only on Android M (API 23) and newer.
instance-attribute
  
#
code_name: str
The current development codename, or the string "REL" if this is a release build.
instance-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.
class-attribute
      instance-attribute
  
#
preview_sdk: int | None = None
The developer preview revision of a pre-release SDK.
instance-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