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 | The name of the instruction set (CPU type + ABI convention) of native code. | ||||||||||
CPU_ABI2 | The name of the second instruction set (CPU type + ABI convention) of native code. | ||||||||||
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. | ||||||||||
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.
The name of the instruction set (CPU type + ABI convention) of native code.
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.
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).