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

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

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






AndroidPublisher.Edits.Expansionfiles (Google Play Android Developer API v3-rev20240328-2.0.0)












com.google.api.services.androidpublisher

Class AndroidPublisher.Edits.Expansionfiles

  • java.lang.Object
    • com.google.api.services.androidpublisher.AndroidPublisher.Edits.Expansionfiles
  • Enclosing class:
    AndroidPublisher.Edits


    public class AndroidPublisher.Edits.Expansionfiles
    extends Object
    The "expansionfiles" collection of methods.
    • Constructor Detail

      • Expansionfiles

        public Expansionfiles()
    • Method Detail

      • get

        public AndroidPublisher.Edits.Expansionfiles.Get get(String packageName,
                                                             String editId,
                                                             Integer apkVersionCode,
                                                             String expansionFileType)
                                                      throws IOException
        Fetches the expansion file configuration for the specified APK. Create a request for the method "expansionfiles.get". 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.
        apkVersionCode - The version code of the APK whose expansion file configuration is being read or modified.
        expansionFileType - The file type of the file configuration which is being read or modified.
        Returns:
        the request
        Throws:
        IOException
      • patch

        public AndroidPublisher.Edits.Expansionfiles.Patch patch(String packageName,
                                                                 String editId,
                                                                 Integer apkVersionCode,
                                                                 String expansionFileType,
                                                                 ExpansionFile content)
                                                          throws IOException
        Patches the APK's expansion file configuration to reference another APK's expansion file. To add a new expansion file use the Upload method. Create a request for the method "expansionfiles.patch". 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.
        apkVersionCode - The version code of the APK whose expansion file configuration is being read or modified.
        expansionFileType - The file type of the expansion file configuration which is being updated.
        content - the ExpansionFile
        Returns:
        the request
        Throws:
        IOException
      • update

        public AndroidPublisher.Edits.Expansionfiles.Update update(String packageName,
                                                                   String editId,
                                                                   Integer apkVersionCode,
                                                                   String expansionFileType,
                                                                   ExpansionFile content)
                                                            throws IOException
        Updates the APK's expansion file configuration to reference another APK's expansion file. To add a new expansion file use the Upload method. Create a request for the method "expansionfiles.update". 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.
        apkVersionCode - The version code of the APK whose expansion file configuration is being read or modified.
        expansionFileType - The file type of the file configuration which is being read or modified.
        content - the ExpansionFile
        Returns:
        the request
        Throws:
        IOException
      • upload

        public AndroidPublisher.Edits.Expansionfiles.Upload upload(String packageName,
                                                                   String editId,
                                                                   Integer apkVersionCode,
                                                                   String expansionFileType)
                                                            throws IOException
        Uploads a new expansion file and attaches to the specified APK. Create a request for the method "expansionfiles.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.
        apkVersionCode - The version code of the APK whose expansion file configuration is being read or modified.
        expansionFileType - The file type of the expansion file configuration which is being updated.
        Returns:
        the request
        Throws:
        IOException
      • upload

        public AndroidPublisher.Edits.Expansionfiles.Upload upload(String packageName,
                                                                   String editId,
                                                                   Integer apkVersionCode,
                                                                   String expansionFileType,
                                                                   com.google.api.client.http.AbstractInputStreamContent mediaContent)
                                                            throws IOException
        Uploads a new expansion file and attaches to the specified APK. Create a request for the method "expansionfiles.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.@param apkVersionCode The version code of the APK whose expansion file configuration is being read or modified.@param expansionFileType The file type of the expansion file configuration which is being updated.
        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 - 2024 Weber Informatics LLC | Privacy Policy