public class AndroidPublisher.Edits.Images extends Object
Modifier and Type | Class and Description |
---|---|
class |
AndroidPublisher.Edits.Images.Delete |
class |
AndroidPublisher.Edits.Images.Deleteall |
class |
AndroidPublisher.Edits.Images.List |
class |
AndroidPublisher.Edits.Images.Upload |
Constructor and Description |
---|
Images() |
Modifier and Type | Method and Description |
---|---|
AndroidPublisher.Edits.Images.Delete |
delete(String packageName,
String editId,
String language,
String imageType,
String imageId)
Deletes the image (specified by id) from the edit.
|
AndroidPublisher.Edits.Images.Deleteall |
deleteall(String packageName,
String editId,
String language,
String imageType)
Deletes all images for the specified language and image type.
|
AndroidPublisher.Edits.Images.List |
list(String packageName,
String editId,
String language,
String imageType)
Lists all images.
|
AndroidPublisher.Edits.Images.Upload |
upload(String packageName,
String editId,
String language,
String imageType)
Uploads an image of the specified language and image type, and adds to the edit.
|
AndroidPublisher.Edits.Images.Upload |
upload(String packageName,
String editId,
String language,
String imageType,
com.google.api.client.http.AbstractInputStreamContent mediaContent)
Uploads an image of the specified language and image type, and adds to the edit.
|
public AndroidPublisher.Edits.Images.Delete delete(String packageName, String editId, String language, String imageType, String imageId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.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.IOException
public AndroidPublisher.Edits.Images.Deleteall deleteall(String packageName, String editId, String language, String imageType) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.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.IOException
public AndroidPublisher.Edits.Images.List list(String packageName, String editId, String language, String imageType) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.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.IOException
public AndroidPublisher.Edits.Images.Upload upload(String packageName, String editId, String language, String imageType) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.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.IOException
public AndroidPublisher.Edits.Images.Upload upload(String packageName, String editId, String language, String imageType, com.google.api.client.http.AbstractInputStreamContent mediaContent) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
This method should be used for uploading media content.
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.IOException
- if the initialization of the request failsCopyright © 2011–2025 Google. All rights reserved.