Documentation
¶
Overview ¶
Package build provides Go bindings for android.os.
Index ¶
Constants ¶
View Source
const ( Board = consts.Board Bootloader = consts.Bootloader Brand = consts.Brand CpuAbi = consts.CpuAbi CpuAbi2 = consts.CpuAbi2 Device = consts.Device Display = consts.Display Fingerprint = consts.Fingerprint Hardware = consts.Hardware Host = consts.Host Id = consts.Id Manufacturer = consts.Manufacturer Model = consts.Model OdmSku = consts.OdmSku Product = consts.Product Radio = consts.Radio Serial = consts.Serial Sku = consts.Sku SocManufacturer = consts.SocManufacturer SocModel = consts.SocModel Tags = consts.Tags Type = consts.Type Unknown = consts.Unknown User = consts.User PartitionNameSystem = consts.PartitionNameSystem BaseOs = consts.BaseOs Codename = consts.Codename Incremental = consts.Incremental Release = consts.Release ReleaseOrCodename = consts.ReleaseOrCodename ReleaseOrPreviewDisplay = consts.ReleaseOrPreviewDisplay Sdk = consts.Sdk SecurityPatch = consts.SecurityPatch )
View Source
const ( Supported32BitAbis = consts.Supported32BitAbis Supported64BitAbis = consts.Supported64BitAbis SupportedAbis = consts.SupportedAbis MediaPerformanceClass = consts.MediaPerformanceClass PreviewSdkInt = consts.PreviewSdkInt SdkInt = consts.SdkInt SdkIntFull = consts.SdkIntFull Baklava = consts.Baklava Base = consts.Base Base11 = consts.Base11 Cupcake = consts.Cupcake CurDevelopment = consts.CurDevelopment Donut = consts.Donut Eclair = consts.Eclair Eclair01 = consts.Eclair01 EclairMr1 = consts.EclairMr1 Froyo = consts.Froyo Gingerbread = consts.Gingerbread GingerbreadMr1 = consts.GingerbreadMr1 Honeycomb = consts.Honeycomb HoneycombMr1 = consts.HoneycombMr1 HoneycombMr2 = consts.HoneycombMr2 IceCreamSandwich = consts.IceCreamSandwich IceCreamSandwichMr1 = consts.IceCreamSandwichMr1 JellyBean = consts.JellyBean JellyBeanMr1 = consts.JellyBeanMr1 JellyBeanMr2 = consts.JellyBeanMr2 Kitkat = consts.Kitkat KitkatWatch = consts.KitkatWatch Lollipop = consts.Lollipop LollipopMr1 = consts.LollipopMr1 M = consts.M N = consts.N NMr1 = consts.NMr1 O = consts.O OMr1 = consts.OMr1 P = consts.P Q = consts.Q R = consts.R S = consts.S SV2 = consts.SV2 Tiramisu = consts.Tiramisu UpsideDownCake = consts.UpsideDownCake VanillaIceCream = consts.VanillaIceCream )
View Source
const (
Time = consts.Time
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Build ¶ added in v0.0.4
Build wraps android.os.Build.
func (*Build) GetMajorSdkVersion ¶ added in v0.0.4
GetMajorSdkVersion calls android.os.Build.getMajorSdkVersion.
func (*Build) GetMinorSdkVersion ¶ added in v0.0.4
GetMinorSdkVersion calls android.os.Build.getMinorSdkVersion.
func (*Build) GetRadioVersion ¶ added in v0.0.4
GetRadioVersion calls android.os.Build.getRadioVersion.
type BuildInfo ¶ added in v0.0.4
type BuildInfo struct {
Device string
Model string
Product string
Manufacturer string
Brand string
Board string
Hardware string
}
BuildInfo holds static field values from android.os.Build.
type Partition ¶ added in v0.0.7
Partition wraps android.os.Build$Partition.
func (*Partition) GetBuildTimeMillis ¶ added in v0.0.7
GetBuildTimeMillis calls android.os.Build$Partition.getBuildTimeMillis.
func (*Partition) GetFingerprint ¶ added in v0.0.7
GetFingerprint calls android.os.Build$Partition.getFingerprint.
type VersionInfo ¶ added in v0.0.4
VersionInfo holds static field values from android.os.Build.VERSION.
func GetVersionInfo ¶ added in v0.0.4
func GetVersionInfo(vm *jni.VM) (*VersionInfo, error)
GetVersionInfo reads static fields from android.os.Build.VERSION.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.