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

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

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






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












com.google.api.services.androidpublisher

Class AndroidPublisher.Edits.Images

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

      • Images

        public Images()
    • Method Detail

      • delete

        public AndroidPublisher.Edits.Images.Delete delete(String packageName,
                                                           String editId,
                                                           String language,
                                                           String imageType,
                                                           String imageId)
                                                    throws IOException
        Deletes the image (specified by id) from the edit. Create a request for the method "images.delete". 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.
        language - Language localization code (a BCP-47 language tag; for example, "de-AT" for Austrian German).
        imageType - Type of the Image.
        imageId - Unique identifier an image within the set of images attached to this edit.
        Returns:
        the request
        Throws:
        IOException
      • deleteall

        public AndroidPublisher.Edits.Images.Deleteall deleteall(String packageName,
                                                                 String editId,
                                                                 String language,
                                                                 String imageType)
                                                          throws IOException
        Deletes all images for the specified language and image type. Returns an empty response if no images are found. Create a request for the method "images.deleteall". 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.
        language - Language localization code (a BCP-47 language tag; for example, "de-AT" for Austrian German). Providing a language that is not supported by the App is a no-op.
        imageType - Type of the Image. Providing an image type that refers to no images is a no-op.
        Returns:
        the request
        Throws:
        IOException
      • list

        public AndroidPublisher.Edits.Images.List list(String packageName,
                                                       String editId,
                                                       String language,
                                                       String imageType)
                                                throws IOException
        Lists all images. The response may be empty. Create a request for the method "images.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.
        language - Language localization code (a BCP-47 language tag; for example, "de-AT" for Austrian German). There must be a store listing for the specified language.
        imageType - Type of the Image. Providing an image type that refers to no images will return an empty response.
        Returns:
        the request
        Throws:
        IOException
      • upload

        public AndroidPublisher.Edits.Images.Upload upload(String packageName,
                                                           String editId,
                                                           String language,
                                                           String imageType)
                                                    throws IOException
        Uploads an image of the specified language and image type, and adds to the edit. Create a request for the method "images.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.
        language - Language localization code (a BCP-47 language tag; for example, "de-AT" for Austrian German). Providing a language that is not supported by the App is a no-op.
        imageType - Type of the Image.
        Returns:
        the request
        Throws:
        IOException
      • upload

        public AndroidPublisher.Edits.Images.Upload upload(String packageName,
                                                           String editId,
                                                           String language,
                                                           String imageType,
                                                           com.google.api.client.http.AbstractInputStreamContent mediaContent)
                                                    throws IOException
        Uploads an image of the specified language and image type, and adds to the edit. Create a request for the method "images.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 language Language localization code (a BCP-47 language tag; for example, "de-AT" for Austrian German). Providing a language that is not supported by the App is a no-op.@param imageType Type of the Image.
        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