All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.androidpublisher.model.Targeting.html Maven / Gradle / Ivy







Targeting (Google Play Android Developer API v3-rev20240129-2.0.0)












com.google.api.services.androidpublisher.model

Class Targeting

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>


    public final class Targeting
    extends com.google.api.client.json.GenericJson
    Targeting details for a recovery action such as regions, android sdk levels, app versions etc.

    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.
    • Constructor Detail

      • Targeting

        public Targeting()
    • Method Detail

      • getAllUsers

        public AllUsers getAllUsers()
        All users are targeted.
        Returns:
        value or null for none
      • setAllUsers

        public Targeting setAllUsers(AllUsers allUsers)
        All users are targeted.
        Parameters:
        allUsers - allUsers or null for none
      • getAndroidSdks

        public AndroidSdks getAndroidSdks()
        Targeting is based on android api levels of devices.
        Returns:
        value or null for none
      • setAndroidSdks

        public Targeting setAndroidSdks(AndroidSdks androidSdks)
        Targeting is based on android api levels of devices.
        Parameters:
        androidSdks - androidSdks or null for none
      • getRegions

        public Regions getRegions()
        Targeting is based on the user account region.
        Returns:
        value or null for none
      • setRegions

        public Targeting setRegions(Regions regions)
        Targeting is based on the user account region.
        Parameters:
        regions - regions or null for none
      • getVersionList

        public AppVersionList getVersionList()
        Target version codes as a list.
        Returns:
        value or null for none
      • setVersionList

        public Targeting setVersionList(AppVersionList versionList)
        Target version codes as a list.
        Parameters:
        versionList - versionList or null for none
      • getVersionRange

        public AppVersionRange getVersionRange()
        Target version codes as a range.
        Returns:
        value or null for none
      • setVersionRange

        public Targeting setVersionRange(AppVersionRange versionRange)
        Target version codes as a range.
        Parameters:
        versionRange - versionRange or null for none
      • set

        public Targeting set(String fieldName,
                             Object value)
        Overrides:
        set in class com.google.api.client.json.GenericJson
      • clone

        public Targeting 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