public final class DeviceMetadata
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 Android Developer 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 |
|---|
DeviceMetadata() |
| Modifier and Type | Method and Description |
|---|---|
DeviceMetadata |
clone() |
String |
getCpuMake()
Device CPU make, e.g.
|
String |
getCpuModel()
Device CPU model, e.g.
|
String |
getDeviceClass()
Device class (e.g.
|
Integer |
getGlEsVersion()
OpenGL version
|
String |
getManufacturer()
Device manufacturer (e.g.
|
String |
getNativePlatform()
Comma separated list of native platforms (e.g.
|
String |
getProductName()
Device model name (e.g.
|
Integer |
getRamMb()
Device RAM in Megabytes, e.g.
|
Integer |
getScreenDensityDpi()
Screen density in DPI
|
Integer |
getScreenHeightPx()
Screen height in pixels
|
Integer |
getScreenWidthPx()
Screen width in pixels
|
DeviceMetadata |
set(String fieldName,
Object value) |
DeviceMetadata |
setCpuMake(String cpuMake)
Device CPU make, e.g.
|
DeviceMetadata |
setCpuModel(String cpuModel)
Device CPU model, e.g.
|
DeviceMetadata |
setDeviceClass(String deviceClass)
Device class (e.g.
|
DeviceMetadata |
setGlEsVersion(Integer glEsVersion)
OpenGL version
|
DeviceMetadata |
setManufacturer(String manufacturer)
Device manufacturer (e.g.
|
DeviceMetadata |
setNativePlatform(String nativePlatform)
Comma separated list of native platforms (e.g.
|
DeviceMetadata |
setProductName(String productName)
Device model name (e.g.
|
DeviceMetadata |
setRamMb(Integer ramMb)
Device RAM in Megabytes, e.g.
|
DeviceMetadata |
setScreenDensityDpi(Integer screenDensityDpi)
Screen density in DPI
|
DeviceMetadata |
setScreenHeightPx(Integer screenHeightPx)
Screen height in pixels
|
DeviceMetadata |
setScreenWidthPx(Integer screenWidthPx)
Screen width in pixels
|
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 getCpuMake()
null for nonepublic DeviceMetadata setCpuMake(String cpuMake)
cpuMake - cpuMake or null for nonepublic String getCpuModel()
null for nonepublic DeviceMetadata setCpuModel(String cpuModel)
cpuModel - cpuModel or null for nonepublic String getDeviceClass()
null for nonepublic DeviceMetadata setDeviceClass(String deviceClass)
deviceClass - deviceClass or null for nonepublic Integer getGlEsVersion()
null for nonepublic DeviceMetadata setGlEsVersion(Integer glEsVersion)
glEsVersion - glEsVersion or null for nonepublic String getManufacturer()
null for nonepublic DeviceMetadata setManufacturer(String manufacturer)
manufacturer - manufacturer or null for nonepublic String getNativePlatform()
null for nonepublic DeviceMetadata setNativePlatform(String nativePlatform)
nativePlatform - nativePlatform or null for nonepublic String getProductName()
null for nonepublic DeviceMetadata setProductName(String productName)
productName - productName or null for nonepublic Integer getRamMb()
null for nonepublic DeviceMetadata setRamMb(Integer ramMb)
ramMb - ramMb or null for nonepublic Integer getScreenDensityDpi()
null for nonepublic DeviceMetadata setScreenDensityDpi(Integer screenDensityDpi)
screenDensityDpi - screenDensityDpi or null for nonepublic Integer getScreenHeightPx()
null for nonepublic DeviceMetadata setScreenHeightPx(Integer screenHeightPx)
screenHeightPx - screenHeightPx or null for nonepublic Integer getScreenWidthPx()
null for nonepublic DeviceMetadata setScreenWidthPx(Integer screenWidthPx)
screenWidthPx - screenWidthPx or null for nonepublic DeviceMetadata set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic DeviceMetadata clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.