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

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







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












com.google.api.services.androidpublisher.model

Class ExternallyHostedApk

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


    public final class ExternallyHostedApk
    extends com.google.api.client.json.GenericJson
    Defines an APK available for this application that is hosted externally and not uploaded to Google Play. This function is only available to organizations using Managed Play whose application is configured to restrict distribution to the organizations.

    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

      • ExternallyHostedApk

        public ExternallyHostedApk()
    • Method Detail

      • getApplicationLabel

        public String getApplicationLabel()
        The application label.
        Returns:
        value or null for none
      • setApplicationLabel

        public ExternallyHostedApk setApplicationLabel(String applicationLabel)
        The application label.
        Parameters:
        applicationLabel - applicationLabel or null for none
      • getCertificateBase64s

        public List<String> getCertificateBase64s()
        A certificate (or array of certificates if a certificate-chain is used) used to sign this APK, represented as a base64 encoded byte array.
        Returns:
        value or null for none
      • setCertificateBase64s

        public ExternallyHostedApk setCertificateBase64s(List<String> certificateBase64s)
        A certificate (or array of certificates if a certificate-chain is used) used to sign this APK, represented as a base64 encoded byte array.
        Parameters:
        certificateBase64s - certificateBase64s or null for none
      • getExternallyHostedUrl

        public String getExternallyHostedUrl()
        The URL at which the APK is hosted. This must be an https URL.
        Returns:
        value or null for none
      • setExternallyHostedUrl

        public ExternallyHostedApk setExternallyHostedUrl(String externallyHostedUrl)
        The URL at which the APK is hosted. This must be an https URL.
        Parameters:
        externallyHostedUrl - externallyHostedUrl or null for none
      • getFileSha1Base64

        public String getFileSha1Base64()
        The sha1 checksum of this APK, represented as a base64 encoded byte array.
        Returns:
        value or null for none
      • setFileSha1Base64

        public ExternallyHostedApk setFileSha1Base64(String fileSha1Base64)
        The sha1 checksum of this APK, represented as a base64 encoded byte array.
        Parameters:
        fileSha1Base64 - fileSha1Base64 or null for none
      • getFileSha256Base64

        public String getFileSha256Base64()
        The sha256 checksum of this APK, represented as a base64 encoded byte array.
        Returns:
        value or null for none
      • setFileSha256Base64

        public ExternallyHostedApk setFileSha256Base64(String fileSha256Base64)
        The sha256 checksum of this APK, represented as a base64 encoded byte array.
        Parameters:
        fileSha256Base64 - fileSha256Base64 or null for none
      • getFileSize

        public Long getFileSize()
        The file size in bytes of this APK.
        Returns:
        value or null for none
      • setFileSize

        public ExternallyHostedApk setFileSize(Long fileSize)
        The file size in bytes of this APK.
        Parameters:
        fileSize - fileSize or null for none
      • getIconBase64

        public String getIconBase64()
        The icon image from the APK, as a base64 encoded byte array.
        Returns:
        value or null for none
      • setIconBase64

        public ExternallyHostedApk setIconBase64(String iconBase64)
        The icon image from the APK, as a base64 encoded byte array.
        Parameters:
        iconBase64 - iconBase64 or null for none
      • getMaximumSdk

        public Integer getMaximumSdk()
        The maximum SDK supported by this APK (optional).
        Returns:
        value or null for none
      • setMaximumSdk

        public ExternallyHostedApk setMaximumSdk(Integer maximumSdk)
        The maximum SDK supported by this APK (optional).
        Parameters:
        maximumSdk - maximumSdk or null for none
      • getMinimumSdk

        public Integer getMinimumSdk()
        The minimum SDK targeted by this APK.
        Returns:
        value or null for none
      • setMinimumSdk

        public ExternallyHostedApk setMinimumSdk(Integer minimumSdk)
        The minimum SDK targeted by this APK.
        Parameters:
        minimumSdk - minimumSdk or null for none
      • getNativeCodes

        public List<String> getNativeCodes()
        The native code environments supported by this APK (optional).
        Returns:
        value or null for none
      • setNativeCodes

        public ExternallyHostedApk setNativeCodes(List<String> nativeCodes)
        The native code environments supported by this APK (optional).
        Parameters:
        nativeCodes - nativeCodes or null for none
      • getPackageName

        public String getPackageName()
        The package name.
        Returns:
        value or null for none
      • setPackageName

        public ExternallyHostedApk setPackageName(String packageName)
        The package name.
        Parameters:
        packageName - packageName or null for none
      • getUsesFeatures

        public List<String> getUsesFeatures()
        The features required by this APK (optional).
        Returns:
        value or null for none
      • setUsesFeatures

        public ExternallyHostedApk setUsesFeatures(List<String> usesFeatures)
        The features required by this APK (optional).
        Parameters:
        usesFeatures - usesFeatures or null for none
      • getUsesPermissions

        public List<UsesPermission> getUsesPermissions()
        The permissions requested by this APK.
        Returns:
        value or null for none
      • setUsesPermissions

        public ExternallyHostedApk setUsesPermissions(List<UsesPermission> usesPermissions)
        The permissions requested by this APK.
        Parameters:
        usesPermissions - usesPermissions or null for none
      • getVersionCode

        public Integer getVersionCode()
        The version code of this APK.
        Returns:
        value or null for none
      • setVersionCode

        public ExternallyHostedApk setVersionCode(Integer versionCode)
        The version code of this APK.
        Parameters:
        versionCode - versionCode or null for none
      • getVersionName

        public String getVersionName()
        The version name of this APK.
        Returns:
        value or null for none
      • setVersionName

        public ExternallyHostedApk setVersionName(String versionName)
        The version name of this APK.
        Parameters:
        versionName - versionName or null for none
      • clone

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