target.apidocs.com.google.api.services.androidpublisher.model.SplitApkVariant.html Maven / Gradle / Ivy
SplitApkVariant (Google Play Android Developer API v3-rev20240129-2.0.0)
com.google.api.services.androidpublisher.model
Class SplitApkVariant
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.androidpublisher.model.SplitApkVariant
-
public final class SplitApkVariant
extends com.google.api.client.json.GenericJson
Variant is a group of APKs that covers a part of the device configuration space. APKs from
multiple variants are never combined on one device.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
SplitApkVariant()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
SplitApkVariant
clone()
List<ApkSet>
getApkSet()
Set of APKs, one set per module.
VariantTargeting
getTargeting()
Variant-level targeting.
Integer
getVariantNumber()
Number of the variant, starting at 0 (unless overridden).
SplitApkVariant
set(String fieldName,
Object value)
SplitApkVariant
setApkSet(List<ApkSet> apkSet)
Set of APKs, one set per module.
SplitApkVariant
setTargeting(VariantTargeting targeting)
Variant-level targeting.
SplitApkVariant
setVariantNumber(Integer variantNumber)
Number of the variant, starting at 0 (unless overridden).
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getApkSet
public List<ApkSet> getApkSet()
Set of APKs, one set per module.
- Returns:
- value or
null
for none
-
setApkSet
public SplitApkVariant setApkSet(List<ApkSet> apkSet)
Set of APKs, one set per module.
- Parameters:
apkSet
- apkSet or null
for none
-
getTargeting
public VariantTargeting getTargeting()
Variant-level targeting.
- Returns:
- value or
null
for none
-
setTargeting
public SplitApkVariant setTargeting(VariantTargeting targeting)
Variant-level targeting.
- Parameters:
targeting
- targeting or null
for none
-
getVariantNumber
public Integer getVariantNumber()
Number of the variant, starting at 0 (unless overridden). A device will receive APKs from the
first variant that matches the device configuration, with higher variant numbers having
priority over lower variant numbers.
- Returns:
- value or
null
for none
-
setVariantNumber
public SplitApkVariant setVariantNumber(Integer variantNumber)
Number of the variant, starting at 0 (unless overridden). A device will receive APKs from the
first variant that matches the device configuration, with higher variant numbers having
priority over lower variant numbers.
- Parameters:
variantNumber
- variantNumber or null
for none
-
set
public SplitApkVariant set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public SplitApkVariant clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy