| java.lang.Object | |
| ↳ | android.os.Build |
Information about the current build, extracted from system properties.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Build.VERSION | Various version strings. | ||||||||||
| Build.VERSION_CODES | Enumeration of the currently known SDK version codes. | ||||||||||
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | UNKNOWN | Value used for when a build property is unknown. | |||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| BOARD | The name of the underlying board, like "goldfish". | ||||||||||
| BOOTLOADER | The system bootloader version number. | ||||||||||
| BRAND | The consumer-visible brand with which the product/hardware will be associated, if any. | ||||||||||
| CPU_ABI |
This field was deprecated
in API level 21.
Use SUPPORTED_ABIS instead.
|
||||||||||
| CPU_ABI2 |
This field was deprecated
in API level 21.
Use SUPPORTED_ABIS instead.
|
||||||||||
| DEVICE | The name of the industrial design. | ||||||||||
| DISPLAY | A build ID string meant for displaying to the user | ||||||||||
| FINGERPRINT | A string that uniquely identifies this build. | ||||||||||
| HARDWARE | The name of the hardware (from the kernel command line or /proc). | ||||||||||
| HOST | |||||||||||
| ID | Either a changelist number, or a label like "M4-rc20". | ||||||||||
| MANUFACTURER | The manufacturer of the product/hardware. | ||||||||||
| MODEL | The end-user-visible name for the end product. | ||||||||||
| PRODUCT | The name of the overall product. | ||||||||||
| RADIO |
This field was deprecated
in API level 14.
The radio firmware version is frequently not
available when this class is initialized, leading to a blank or
"unknown" value for this string. Use
getRadioVersion() instead.
|
||||||||||
| SERIAL | A hardware serial number, if available. | ||||||||||
| SUPPORTED_32_BIT_ABIS | An ordered list of 32 bit ABIs supported by this device. | ||||||||||
| SUPPORTED_64_BIT_ABIS | An ordered list of 64 bit ABIs supported by this device. | ||||||||||
| SUPPORTED_ABIS | An ordered list of ABIs supported by this device. | ||||||||||
| TAGS | Comma-separated tags describing the build, like "unsigned,debug". | ||||||||||
| TIME | |||||||||||
| TYPE | The type of build, like "user" or "eng". | ||||||||||
| USER | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns the version string for the radio firmware.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Value used for when a build property is unknown.
The name of the underlying board, like "goldfish".
The consumer-visible brand with which the product/hardware will be associated, if any.
This field was deprecated
in API level 21.
Use SUPPORTED_ABIS instead.
The name of the instruction set (CPU type + ABI convention) of native code.
This field was deprecated
in API level 21.
Use SUPPORTED_ABIS instead.
The name of the second instruction set (CPU type + ABI convention) of native code.
A build ID string meant for displaying to the user
A string that uniquely identifies this build. Do not attempt to parse this value.
The name of the hardware (from the kernel command line or /proc).
Either a changelist number, or a label like "M4-rc20".
The manufacturer of the product/hardware.
The end-user-visible name for the end product.
This field was deprecated
in API level 14.
The radio firmware version is frequently not
available when this class is initialized, leading to a blank or
"unknown" value for this string. Use
getRadioVersion() instead.
The radio firmware version number.
A hardware serial number, if available. Alphanumeric only, case-insensitive.
An ordered list of 32 bit ABIs supported by this device. The most preferred ABI
is the first element in the list.
See SUPPORTED_ABIS and SUPPORTED_64_BIT_ABIS.
An ordered list of 64 bit ABIs supported by this device. The most preferred ABI
is the first element in the list.
See SUPPORTED_ABIS and SUPPORTED_32_BIT_ABIS.
An ordered list of ABIs supported by this device. The most preferred ABI is the first
element in the list.
See SUPPORTED_32_BIT_ABIS and SUPPORTED_64_BIT_ABIS.
Comma-separated tags describing the build, like "unsigned,debug".
Returns the version string for the radio firmware. May return null (if, for instance, the radio is not currently on).