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

target.apidocs.com.google.api.services.androidpublisher.AndroidPublisher.Edits.Apks.html Maven / Gradle / Ivy







AndroidPublisher.Edits.Apks (Google Play Android Developer API v3-rev20240129-2.0.0)












com.google.api.services.androidpublisher

Class AndroidPublisher.Edits.Apks

  • java.lang.Object
    • com.google.api.services.androidpublisher.AndroidPublisher.Edits.Apks
    • Constructor Detail

      • Apks

        public Apks()
    • Method Detail

      • addexternallyhosted

        public AndroidPublisher.Edits.Apks.Addexternallyhosted addexternallyhosted(String packageName,
                                                                                   String editId,
                                                                                   ApksAddExternallyHostedRequest content)
                                                                            throws IOException
        Creates a new APK without uploading the APK itself to Google Play, instead hosting the APK at a specified URL. This function is only available to organizations using Managed Play whose application is configured to restrict distribution to the organizations. Create a request for the method "apks.addexternallyhosted". This request holds the parameters needed by the androidpublisher server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        packageName - Package name of the app.
        editId - Identifier of the edit.
        content - the ApksAddExternallyHostedRequest
        Returns:
        the request
        Throws:
        IOException
      • list

        public AndroidPublisher.Edits.Apks.List list(String packageName,
                                                     String editId)
                                              throws IOException
        Lists all current APKs of the app and edit. Create a request for the method "apks.list". This request holds the parameters needed by the androidpublisher server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        packageName - Package name of the app.
        editId - Identifier of the edit.
        Returns:
        the request
        Throws:
        IOException
      • upload

        public AndroidPublisher.Edits.Apks.Upload upload(String packageName,
                                                         String editId)
                                                  throws IOException
        Uploads an APK and adds to the current edit. Create a request for the method "apks.upload". This request holds the parameters needed by the androidpublisher server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        packageName - Package name of the app.
        editId - Identifier of the edit.
        Returns:
        the request
        Throws:
        IOException
      • upload

        public AndroidPublisher.Edits.Apks.Upload upload(String packageName,
                                                         String editId,
                                                         com.google.api.client.http.AbstractInputStreamContent mediaContent)
                                                  throws IOException
        Uploads an APK and adds to the current edit. Create a request for the method "apks.upload". This request holds the parameters needed by the the androidpublisher server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

        This method should be used for uploading media content.

        Parameters:
        packageName - Package name of the app.@param editId Identifier of the edit.
        mediaContent - The media HTTP content.
        Returns:
        the request
        Throws:
        IOException - if the initialization of the request fails

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy