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

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

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






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












com.google.api.services.androidpublisher.model

Class TrackRelease

    • Constructor Detail

      • TrackRelease

        public TrackRelease()
    • Method Detail

      • getCountryTargeting

        public CountryTargeting getCountryTargeting()
        Restricts a release to a specific set of countries.
        Returns:
        value or null for none
      • setCountryTargeting

        public TrackRelease setCountryTargeting(CountryTargeting countryTargeting)
        Restricts a release to a specific set of countries.
        Parameters:
        countryTargeting - countryTargeting or null for none
      • getInAppUpdatePriority

        public Integer getInAppUpdatePriority()
        In-app update priority of the release. All newly added APKs in the release will be considered at this priority. Can take values in the range [0, 5], with 5 the highest priority. Defaults to 0. in_app_update_priority can not be updated once the release is rolled out. See https://developer.android.com/guide/playcore/in-app-updates.
        Returns:
        value or null for none
      • setInAppUpdatePriority

        public TrackRelease setInAppUpdatePriority(Integer inAppUpdatePriority)
        In-app update priority of the release. All newly added APKs in the release will be considered at this priority. Can take values in the range [0, 5], with 5 the highest priority. Defaults to 0. in_app_update_priority can not be updated once the release is rolled out. See https://developer.android.com/guide/playcore/in-app-updates.
        Parameters:
        inAppUpdatePriority - inAppUpdatePriority or null for none
      • getName

        public String getName()
        The release name. Not required to be unique. If not set, the name is generated from the APK's version_name. If the release contains multiple APKs, the name is generated from the date.
        Returns:
        value or null for none
      • setName

        public TrackRelease setName(String name)
        The release name. Not required to be unique. If not set, the name is generated from the APK's version_name. If the release contains multiple APKs, the name is generated from the date.
        Parameters:
        name - name or null for none
      • getReleaseNotes

        public List<LocalizedText> getReleaseNotes()
        A description of what is new in this release.
        Returns:
        value or null for none
      • setReleaseNotes

        public TrackRelease setReleaseNotes(List<LocalizedText> releaseNotes)
        A description of what is new in this release.
        Parameters:
        releaseNotes - releaseNotes or null for none
      • getStatus

        public String getStatus()
        The status of the release.
        Returns:
        value or null for none
      • setStatus

        public TrackRelease setStatus(String status)
        The status of the release.
        Parameters:
        status - status or null for none
      • getUserFraction

        public Double getUserFraction()
        Fraction of users who are eligible for a staged release. 0 < fraction < 1. Can only be set when status is "inProgress" or "halted".
        Returns:
        value or null for none
      • setUserFraction

        public TrackRelease setUserFraction(Double userFraction)
        Fraction of users who are eligible for a staged release. 0 < fraction < 1. Can only be set when status is "inProgress" or "halted".
        Parameters:
        userFraction - userFraction or null for none
      • getVersionCodes

        public List<Long> getVersionCodes()
        Version codes of all APKs in the release. Must include version codes to retain from previous releases.
        Returns:
        value or null for none
      • setVersionCodes

        public TrackRelease setVersionCodes(List<Long> versionCodes)
        Version codes of all APKs in the release. Must include version codes to retain from previous releases.
        Parameters:
        versionCodes - versionCodes or null for none
      • set

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

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