public final class DeviceInfo extends Object
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
static String |
getAbiList() |
Obtains the abilist represented by a string.
|
static String |
getBootloaderVersion() |
Obtains the bootloader version represented by a string.
|
static String |
getBrand() |
Obtains the brand represented by a string.
|
static String |
getBuildHost() |
Obtains the build host represented by a string.
|
static String |
getBuildRootHash() |
Obtains the build root hash represented by a string.
|
static String |
getBuildTime() |
Obtains the build time represented by a string.
|
static String |
getBuildType() |
Obtains the build type represented by a string.
|
static String |
getBuildUser() |
Obtains the build user represented by a string.
|
static String |
getDeviceType() |
Obtains the device type represented by a string.
|
static String |
getDisplayVersion() |
Obtains the display version represented by a string.
|
static String |
getHardwareModel() |
Obtains the hardware version represented by a string.
|
static String |
getHardwareProfile() |
Obtains the hardware profile represented by a string.
|
static String |
getIncrementalVersion() |
Obtains the incremental version represented by a string.
|
static String |
getLocale() |
Obtains the product locale represented by a string.
|
static String |
getLocaleLanguage() |
Obtains the product locale's language represented by a string.
|
static String |
getLocaleRegion() |
Obtains the product locale's region represented by a string.
|
static String |
getManufacture() |
Obtains the manufacture represented by a string.
|
static String |
getModel() |
Obtains the product model represented by a string.
|
static String |
getName() |
Obtains the product name represented by a string.
|
static String |
getOsReleaseType() |
Obtains the os release type represented by a string.
|
static String |
getProductSeries() |
Obtains the product series represented by a string.
|
static String |
getSecurityPatchTag() |
Obtains the security patch tag represented by a string.
|
static String |
getSoftwareModel() |
Obtains the software model represented by a string.
|
static String |
getVersionId() |
Obtains the version id represented by a string.
|
public static String getModel()
public static String getName()
public static String getLocale()
public static String getLocaleLanguage()
public static String getLocaleRegion()
public static String getDeviceType()
phone (or default for phones), wearable, liteWearable,
tablet, tv, car, or smartVision.public static String getManufacture()
public static String getBrand()
public static String getProductSeries()
public static String getSoftwareModel()
public static String getHardwareModel()
public static String getHardwareProfile()
public static String getBootloaderVersion()
public static String getAbiList()
public static String getSecurityPatchTag()
public static String getDisplayVersion()
public static String getIncrementalVersion()
public static String getOsReleaseType()
public static String getBuildType()
public static String getBuildUser()
public static String getBuildHost()
public static String getBuildTime()
public static String getBuildRootHash()
public static String getVersionId()