public final class DeviceSelector
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.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
DeviceSelector() |
Modifier and Type | Method and Description |
---|---|
DeviceSelector |
clone() |
DeviceRam |
getDeviceRam()
Conditions on the device's RAM.
|
List<DeviceId> |
getExcludedDeviceIds()
Device models excluded by this selector, even if they match all other conditions.
|
List<SystemFeature> |
getForbiddenSystemFeatures()
A device that has any of these system features is excluded by this selector, even if it matches
all other conditions.
|
List<DeviceId> |
getIncludedDeviceIds()
Device models included by this selector.
|
List<SystemFeature> |
getRequiredSystemFeatures()
A device needs to have all these system features to be included by the selector.
|
List<SystemOnChip> |
getSystemOnChips()
Optional.
|
DeviceSelector |
set(String fieldName,
Object value) |
DeviceSelector |
setDeviceRam(DeviceRam deviceRam)
Conditions on the device's RAM.
|
DeviceSelector |
setExcludedDeviceIds(List<DeviceId> excludedDeviceIds)
Device models excluded by this selector, even if they match all other conditions.
|
DeviceSelector |
setForbiddenSystemFeatures(List<SystemFeature> forbiddenSystemFeatures)
A device that has any of these system features is excluded by this selector, even if it matches
all other conditions.
|
DeviceSelector |
setIncludedDeviceIds(List<DeviceId> includedDeviceIds)
Device models included by this selector.
|
DeviceSelector |
setRequiredSystemFeatures(List<SystemFeature> requiredSystemFeatures)
A device needs to have all these system features to be included by the selector.
|
DeviceSelector |
setSystemOnChips(List<SystemOnChip> systemOnChips)
Optional.
|
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 DeviceRam getDeviceRam()
null
for nonepublic DeviceSelector setDeviceRam(DeviceRam deviceRam)
deviceRam
- deviceRam or null
for nonepublic List<DeviceId> getExcludedDeviceIds()
null
for nonepublic DeviceSelector setExcludedDeviceIds(List<DeviceId> excludedDeviceIds)
excludedDeviceIds
- excludedDeviceIds or null
for nonepublic List<SystemFeature> getForbiddenSystemFeatures()
null
for nonepublic DeviceSelector setForbiddenSystemFeatures(List<SystemFeature> forbiddenSystemFeatures)
forbiddenSystemFeatures
- forbiddenSystemFeatures or null
for nonepublic List<DeviceId> getIncludedDeviceIds()
null
for nonepublic DeviceSelector setIncludedDeviceIds(List<DeviceId> includedDeviceIds)
includedDeviceIds
- includedDeviceIds or null
for nonepublic List<SystemFeature> getRequiredSystemFeatures()
null
for nonepublic DeviceSelector setRequiredSystemFeatures(List<SystemFeature> requiredSystemFeatures)
requiredSystemFeatures
- requiredSystemFeatures or null
for nonepublic List<SystemOnChip> getSystemOnChips()
null
for nonepublic DeviceSelector setSystemOnChips(List<SystemOnChip> systemOnChips)
systemOnChips
- systemOnChips or null
for nonepublic DeviceSelector set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public DeviceSelector clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.