Android Guides | Samples

Android.OS.Build Class

Information about the current build, extracted from system properties.

See Also: Build

Syntax

[Android.Runtime.Register("android/os/Build", DoNotGenerateAcw=true)]
public class Build : Object

Remarks

Information about the current build, extracted from system properties.

[Android Documentation]

Requirements

Namespace: Android.OS
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1

The members of Android.OS.Build are listed below.

See Also: Object

Public Constructors

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Fields

const
UnknownString. Value used for when a build property is unknown.

Public Properties

[read-only]
static
BoardString. The name of the underlying board, like "goldfish".
[read-only]
static
BootloaderString. The system bootloader version number.
[read-only]
static
BrandString. The consumer-visible brand with which the product/hardware will be associated, if any.
[read-only]
static
CpuAbiString. The name of the instruction set (CPU type + ABI convention) of native code.
[read-only]
static
CpuAbi2String. The name of the second instruction set (CPU type + ABI convention) of native code.
[read-only]
static
DeviceString. The name of the industrial design.
[read-only]
static
DisplayString. A build ID string meant for displaying to the user
[read-only]
static
FingerprintString. A string that uniquely identifies this build.
[read-only]
static
HardwareString. The name of the hardware (from the kernel command line or /proc).
[read-only]
static
HostString.
[read-only]
static
IdString. Either a changelist number, or a label like "M4-rc20".
[read-only]
static
ManufacturerString. The manufacturer of the product/hardware.
[read-only]
static
ModelString. The end-user-visible name for the end product.
[read-only]
static
ProductString. The name of the overall product.
[read-only]
static
RadioString. The radio firmware version number.
[read-only]
static
RadioVersionString. Returns the version string for the radio firmware.
[read-only]
static
SerialString. A hardware serial number, if available.
[read-only]
static
Supported32BitAbisIList<string>. An ordered list of 32 bit ABIs supported by this device.
[read-only]
static
Supported64BitAbisIList<string>. An ordered list of 64 bit ABIs supported by this device.
[read-only]
static
SupportedAbisIList<string>. An ordered list of ABIs supported by this device.
[read-only]
static
TagsString. Comma-separated tags describing the build, like "unsigned,debug".
[read-only]
static
TimeInt64.
[read-only]
static
TypeString. The type of build, like "user" or "eng".
[read-only]
static
UserString.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.