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 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.Flags| Constructor and Description |
|---|
DeviceMetadata() |
| Modifier and Type | Method and Description |
|---|---|
DeviceMetadata |
clone() |
java.lang.String |
getCpuMake()
Device CPU make e.g.
|
java.lang.String |
getCpuModel()
Device CPU model e.g.
|
java.lang.String |
getDeviceClass()
Device class (e.g.
|
java.lang.Integer |
getGlEsVersion()
OpenGL version
|
java.lang.String |
getManufacturer()
Device manufacturer (e.g.
|
java.lang.String |
getNativePlatform()
Comma separated list of native platforms (e.g.
|
java.lang.String |
getProductName()
Device model name (e.g.
|
java.lang.Integer |
getRamMb()
Device RAM in Megabytes e.g.
|
java.lang.Integer |
getScreenDensityDpi()
Screen density in DPI
|
java.lang.Integer |
getScreenHeightPx()
Screen height in pixels
|
java.lang.Integer |
getScreenWidthPx()
Screen width in pixels
|
DeviceMetadata |
set(java.lang.String fieldName,
java.lang.Object value) |
DeviceMetadata |
setCpuMake(java.lang.String cpuMake)
Device CPU make e.g.
|
DeviceMetadata |
setCpuModel(java.lang.String cpuModel)
Device CPU model e.g.
|
DeviceMetadata |
setDeviceClass(java.lang.String deviceClass)
Device class (e.g.
|
DeviceMetadata |
setGlEsVersion(java.lang.Integer glEsVersion)
OpenGL version
|
DeviceMetadata |
setManufacturer(java.lang.String manufacturer)
Device manufacturer (e.g.
|
DeviceMetadata |
setNativePlatform(java.lang.String nativePlatform)
Comma separated list of native platforms (e.g.
|
DeviceMetadata |
setProductName(java.lang.String productName)
Device model name (e.g.
|
DeviceMetadata |
setRamMb(java.lang.Integer ramMb)
Device RAM in Megabytes e.g.
|
DeviceMetadata |
setScreenDensityDpi(java.lang.Integer screenDensityDpi)
Screen density in DPI
|
DeviceMetadata |
setScreenHeightPx(java.lang.Integer screenHeightPx)
Screen height in pixels
|
DeviceMetadata |
setScreenWidthPx(java.lang.Integer screenWidthPx)
Screen width in pixels
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.String getCpuMake()
null for nonepublic DeviceMetadata setCpuMake(java.lang.String cpuMake)
cpuMake - cpuMake or null for nonepublic java.lang.String getCpuModel()
null for nonepublic DeviceMetadata setCpuModel(java.lang.String cpuModel)
cpuModel - cpuModel or null for nonepublic java.lang.String getDeviceClass()
null for nonepublic DeviceMetadata setDeviceClass(java.lang.String deviceClass)
deviceClass - deviceClass or null for nonepublic java.lang.Integer getGlEsVersion()
null for nonepublic DeviceMetadata setGlEsVersion(java.lang.Integer glEsVersion)
glEsVersion - glEsVersion or null for nonepublic java.lang.String getManufacturer()
null for nonepublic DeviceMetadata setManufacturer(java.lang.String manufacturer)
manufacturer - manufacturer or null for nonepublic java.lang.String getNativePlatform()
null for nonepublic DeviceMetadata setNativePlatform(java.lang.String nativePlatform)
nativePlatform - nativePlatform or null for nonepublic java.lang.String getProductName()
null for nonepublic DeviceMetadata setProductName(java.lang.String productName)
productName - productName or null for nonepublic java.lang.Integer getRamMb()
null for nonepublic DeviceMetadata setRamMb(java.lang.Integer ramMb)
ramMb - ramMb or null for nonepublic java.lang.Integer getScreenDensityDpi()
null for nonepublic DeviceMetadata setScreenDensityDpi(java.lang.Integer screenDensityDpi)
screenDensityDpi - screenDensityDpi or null for nonepublic java.lang.Integer getScreenHeightPx()
null for nonepublic DeviceMetadata setScreenHeightPx(java.lang.Integer screenHeightPx)
screenHeightPx - screenHeightPx or null for nonepublic java.lang.Integer getScreenWidthPx()
null for nonepublic DeviceMetadata setScreenWidthPx(java.lang.Integer screenWidthPx)
screenWidthPx - screenWidthPx or null for nonepublic DeviceMetadata set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic DeviceMetadata clone()
clone in class com.google.api.client.json.GenericJson