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

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

There is a newer version: v3-rev20241217-2.0.0
Show newest version






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












com.google.api.services.androidpublisher.model

Class DeviceTier

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


    public final class DeviceTier
    extends com.google.api.client.json.GenericJson
    A single device tier. Devices matching any of the device groups in device_group_names are considered to match the tier.

    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

      • DeviceTier

        public DeviceTier()
    • Method Detail

      • getDeviceGroupNames

        public List<String> getDeviceGroupNames()
        Groups of devices included in this tier. These groups must be defined explicitly under device_groups in this configuration.
        Returns:
        value or null for none
      • setDeviceGroupNames

        public DeviceTier setDeviceGroupNames(List<String> deviceGroupNames)
        Groups of devices included in this tier. These groups must be defined explicitly under device_groups in this configuration.
        Parameters:
        deviceGroupNames - deviceGroupNames or null for none
      • getLevel

        public Integer getLevel()
        The priority level of the tier. Tiers are evaluated in descending order of level: the highest level tier has the highest priority. The highest tier matching a given device is selected for that device. You should use a contiguous range of levels for your tiers in a tier set; tier levels in a tier set must be unique. For instance, if your tier set has 4 tiers (including the global fallback), you should define tiers 1, 2 and 3 in this configuration. Note: tier 0 is implicitly defined as a global fallback and selected for devices that don't match any of the tiers explicitly defined here. You mustn't define level 0 explicitly in this configuration.
        Returns:
        value or null for none
      • setLevel

        public DeviceTier setLevel(Integer level)
        The priority level of the tier. Tiers are evaluated in descending order of level: the highest level tier has the highest priority. The highest tier matching a given device is selected for that device. You should use a contiguous range of levels for your tiers in a tier set; tier levels in a tier set must be unique. For instance, if your tier set has 4 tiers (including the global fallback), you should define tiers 1, 2 and 3 in this configuration. Note: tier 0 is implicitly defined as a global fallback and selected for devices that don't match any of the tiers explicitly defined here. You mustn't define level 0 explicitly in this configuration.
        Parameters:
        level - level or null for none
      • set

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

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