public final class Targeting
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 |
|---|
Targeting() |
| Modifier and Type | Method and Description |
|---|---|
Targeting |
clone() |
AllUsers |
getAllUsers()
All users are targeted.
|
AndroidSdks |
getAndroidSdks()
Targeting is based on android api levels of devices.
|
Regions |
getRegions()
Targeting is based on the user account region.
|
AppVersionList |
getVersionList()
Target version codes as a list.
|
AppVersionRange |
getVersionRange()
Target version codes as a range.
|
Targeting |
set(String fieldName,
Object value) |
Targeting |
setAllUsers(AllUsers allUsers)
All users are targeted.
|
Targeting |
setAndroidSdks(AndroidSdks androidSdks)
Targeting is based on android api levels of devices.
|
Targeting |
setRegions(Regions regions)
Targeting is based on the user account region.
|
Targeting |
setVersionList(AppVersionList versionList)
Target version codes as a list.
|
Targeting |
setVersionRange(AppVersionRange versionRange)
Target version codes as a range.
|
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 AllUsers getAllUsers()
null for nonepublic Targeting setAllUsers(AllUsers allUsers)
allUsers - allUsers or null for nonepublic AndroidSdks getAndroidSdks()
null for nonepublic Targeting setAndroidSdks(AndroidSdks androidSdks)
androidSdks - androidSdks or null for nonepublic Regions getRegions()
null for nonepublic Targeting setRegions(Regions regions)
regions - regions or null for nonepublic AppVersionList getVersionList()
null for nonepublic Targeting setVersionList(AppVersionList versionList)
versionList - versionList or null for nonepublic AppVersionRange getVersionRange()
null for nonepublic Targeting setVersionRange(AppVersionRange versionRange)
versionRange - versionRange or null for nonepublic Targeting set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Targeting clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.