public final class Device
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Play EMM API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Device() |
| Modifier and Type | Method and Description |
|---|---|
Device |
clone() |
String |
getAndroidId()
The Google Play Services Android ID for the device encoded as a lowercase hex string.
|
String |
getDevice()
The internal hardware codename of the device.
|
String |
getLatestBuildFingerprint()
The build fingerprint of the device if known.
|
String |
getMaker()
The manufacturer of the device.
|
String |
getManagementType()
Identifies the extent to which the device is controlled by a managed Google Play EMM in various
deployment configurations.
|
String |
getModel()
The model name of the device.
|
Policy |
getPolicy()
The policy enforced on the device.
|
String |
getProduct()
The product name of the device.
|
DeviceReport |
getReport()
The device report updated with the latest app states.
|
String |
getRetailBrand()
Retail brand for the device, if set.
|
Integer |
getSdkVersion()
API compatibility version.
|
Device |
set(String fieldName,
Object value) |
Device |
setAndroidId(String androidId)
The Google Play Services Android ID for the device encoded as a lowercase hex string.
|
Device |
setDevice(String device)
The internal hardware codename of the device.
|
Device |
setLatestBuildFingerprint(String latestBuildFingerprint)
The build fingerprint of the device if known.
|
Device |
setMaker(String maker)
The manufacturer of the device.
|
Device |
setManagementType(String managementType)
Identifies the extent to which the device is controlled by a managed Google Play EMM in various
deployment configurations.
|
Device |
setModel(String model)
The model name of the device.
|
Device |
setPolicy(Policy policy)
The policy enforced on the device.
|
Device |
setProduct(String product)
The product name of the device.
|
Device |
setReport(DeviceReport report)
The device report updated with the latest app states.
|
Device |
setRetailBrand(String retailBrand)
Retail brand for the device, if set.
|
Device |
setSdkVersion(Integer sdkVersion)
API compatibility version.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getAndroidId()
null for nonepublic Device setAndroidId(String androidId)
androidId - androidId or null for nonepublic String getDevice()
null for nonepublic Device setDevice(String device)
device - device or null for nonepublic String getLatestBuildFingerprint()
null for nonepublic Device setLatestBuildFingerprint(String latestBuildFingerprint)
latestBuildFingerprint - latestBuildFingerprint or null for nonepublic String getMaker()
null for nonepublic Device setMaker(String maker)
maker - maker or null for nonepublic String getManagementType()
null for nonepublic Device setManagementType(String managementType)
managementType - managementType or null for nonepublic String getModel()
null for nonepublic Device setModel(String model)
model - model or null for nonepublic Policy getPolicy()
null for nonepublic Device setPolicy(Policy policy)
policy - policy or null for nonepublic String getProduct()
null for nonepublic Device setProduct(String product)
product - product or null for nonepublic DeviceReport getReport()
null for nonepublic Device setReport(DeviceReport report)
report - report or null for nonepublic String getRetailBrand()
null for nonepublic Device setRetailBrand(String retailBrand)
retailBrand - retailBrand or null for nonepublic Integer getSdkVersion()
null for nonepublic Device setSdkVersion(Integer sdkVersion)
sdkVersion - sdkVersion or null for nonepublic Device set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Device clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.