public final class DeviceSpec extends 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
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
DeviceSpec() |
Modifier and Type | Method and Description |
---|---|
DeviceSpec |
clone() |
Long |
getScreenDensity()
Screen dpi.
|
List<String> |
getSupportedAbis()
Supported ABI architectures in the order of preference.
|
List<String> |
getSupportedLocales()
All installed locales represented as BCP-47 strings, e.g.
|
DeviceSpec |
set(String fieldName,
Object value) |
DeviceSpec |
setScreenDensity(Long screenDensity)
Screen dpi.
|
DeviceSpec |
setSupportedAbis(List<String> supportedAbis)
Supported ABI architectures in the order of preference.
|
DeviceSpec |
setSupportedLocales(List<String> supportedLocales)
All installed locales represented as BCP-47 strings, e.g.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public Long getScreenDensity()
null
for nonepublic DeviceSpec setScreenDensity(Long screenDensity)
screenDensity
- screenDensity or null
for nonepublic List<String> getSupportedAbis()
null
for nonepublic DeviceSpec setSupportedAbis(List<String> supportedAbis)
supportedAbis
- supportedAbis or null
for nonepublic List<String> getSupportedLocales()
null
for nonepublic DeviceSpec setSupportedLocales(List<String> supportedLocales)
supportedLocales
- supportedLocales or null
for nonepublic DeviceSpec set(String fieldName, Object value)
set
in class GenericJson
public DeviceSpec clone()
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.