Build class

from: android.os.Build

Constructors

Build.new()
from: public void <init>() The returned object must be released after use, by calling the release method.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
isReleased bool
no setterinherited
jClass → JClass
Returns JClass corresponding to concrete class of this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

as<T extends JObject?>(JObjType<T> type, {bool releaseOriginal = false}) → T
Casts this object to another type.
inherited
isA<T extends JObject?>(JObjType<T> type) bool
Whether this object is of the given type ignoring the type parameters.
inherited
isInstanceOf(JClass jclass) bool
Whether this object is of the type of the given jclass.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
release() → void
Releases the underlying reference.
inherited
releasedBy(Arena arena) → void
Registers this object to be released at the end of arena's lifetime.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

BOARD → JString?
from: static public final java.lang.String BOARD The returned object must be released after use, by calling the release method.
no setter
BOOTLOADER → JString?
from: static public final java.lang.String BOOTLOADER The returned object must be released after use, by calling the release method.
no setter
BRAND → JString?
from: static public final java.lang.String BRAND The returned object must be released after use, by calling the release method.
no setter
CPU_ABI → JString?
from: static public final java.lang.String CPU_ABI The returned object must be released after use, by calling the release method.
no setter
CPU_ABI2 → JString?
from: static public final java.lang.String CPU_ABI2 The returned object must be released after use, by calling the release method.
no setter
DEVICE → JString?
from: static public final java.lang.String DEVICE The returned object must be released after use, by calling the release method.
no setter
DISPLAY → JString?
from: static public final java.lang.String DISPLAY The returned object must be released after use, by calling the release method.
no setter
FINGERPRINT → JString?
from: static public final java.lang.String FINGERPRINT The returned object must be released after use, by calling the release method.
no setter
HARDWARE → JString?
from: static public final java.lang.String HARDWARE The returned object must be released after use, by calling the release method.
no setter
HOST → JString?
from: static public final java.lang.String HOST The returned object must be released after use, by calling the release method.
no setter
ID → JString?
from: static public final java.lang.String ID The returned object must be released after use, by calling the release method.
no setter
MANUFACTURER → JString?
from: static public final java.lang.String MANUFACTURER The returned object must be released after use, by calling the release method.
no setter
MODEL → JString?
from: static public final java.lang.String MODEL The returned object must be released after use, by calling the release method.
no setter
ODM_SKU → JString?
from: static public final java.lang.String ODM_SKU The returned object must be released after use, by calling the release method.
no setter
PRODUCT → JString?
from: static public final java.lang.String PRODUCT The returned object must be released after use, by calling the release method.
no setter
RADIO → JString?
from: static public final java.lang.String RADIO The returned object must be released after use, by calling the release method.
no setter
SERIAL → JString?
from: static public final java.lang.String SERIAL The returned object must be released after use, by calling the release method.
no setter
SKU → JString?
from: static public final java.lang.String SKU The returned object must be released after use, by calling the release method.
no setter
SOC_MANUFACTURER → JString?
from: static public final java.lang.String SOC_MANUFACTURER The returned object must be released after use, by calling the release method.
no setter
SOC_MODEL → JString?
from: static public final java.lang.String SOC_MODEL The returned object must be released after use, by calling the release method.
no setter
SUPPORTED_32_BIT_ABIS → JArray<JString?>?
from: static public final java.lang.String[] SUPPORTED_32_BIT_ABIS The returned object must be released after use, by calling the release method.
no setter
SUPPORTED_64_BIT_ABIS → JArray<JString?>?
from: static public final java.lang.String[] SUPPORTED_64_BIT_ABIS The returned object must be released after use, by calling the release method.
no setter
SUPPORTED_ABIS → JArray<JString?>?
from: static public final java.lang.String[] SUPPORTED_ABIS The returned object must be released after use, by calling the release method.
no setter
TAGS → JString?
from: static public final java.lang.String TAGS The returned object must be released after use, by calling the release method.
no setter
TIME int
from: static public final long TIME
no setter
TYPE → JString?
from: static public final java.lang.String TYPE The returned object must be released after use, by calling the release method.
no setter
UNKNOWN → JString?
from: static public final java.lang.String UNKNOWN The returned object must be released after use, by calling the release method.
no setter
USER → JString?
from: static public final java.lang.String USER The returned object must be released after use, by calling the release method.
no setter

Static Methods

getFingerprintedPartitions() → JList<Build$Partition?>?
from: static public java.util.List<android.os.Build$Partition> getFingerprintedPartitions() The returned object must be released after use, by calling the release method.
getMajorSdkVersion(int i) int
from: static public int getMajorSdkVersion(int i)
getMinorSdkVersion(int i) int
from: static public int getMinorSdkVersion(int i)
getRadioVersion() → JString?
from: static public java.lang.String getRadioVersion() The returned object must be released after use, by calling the release method.
getSerial() → JString?
from: static public java.lang.String getSerial() The returned object must be released after use, by calling the release method.

Constants

nullableType → const $Build$NullableType
The type which includes information such as the signature of this class.
type → const $Build$Type