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 brand (e.g., carrier) the software is customized for, 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 | The radio firmware version number. | ||||||||||
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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[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 brand (e.g., carrier) the software is customized for, 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.
A hardware serial number, if available. Alphanumeric only, case-insensitive.
Comma-separated tags describing the build, like "unsigned,debug".