public class AndroidPublisher.Edits.Images
extends java.lang.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(java.lang.String packageName,
java.lang.String editId,
java.lang.String language,
java.lang.String imageType,
java.lang.String imageId)
Deletes the image (specified by id) from the edit.
|
AndroidPublisher.Edits.Images.Deleteall |
deleteall(java.lang.String packageName,
java.lang.String editId,
java.lang.String language,
java.lang.String imageType)
Deletes all images for the specified language and image type.
|
AndroidPublisher.Edits.Images.List |
list(java.lang.String packageName,
java.lang.String editId,
java.lang.String language,
java.lang.String imageType)
Lists all images for the specified language and image type.
|
AndroidPublisher.Edits.Images.Upload |
upload(java.lang.String packageName,
java.lang.String editId,
java.lang.String language,
java.lang.String imageType)
Uploads a new image and adds it to the list of images for the specified language and image type.
|
AndroidPublisher.Edits.Images.Upload |
upload(java.lang.String packageName,
java.lang.String editId,
java.lang.String language,
java.lang.String imageType,
com.google.api.client.http.AbstractInputStreamContent mediaContent)
Uploads a new image and adds it to the list of images for the specified language and image type.
|
public AndroidPublisher.Edits.Images.Delete delete(java.lang.String packageName, java.lang.String editId, java.lang.String language, java.lang.String imageType, java.lang.String imageId) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.packageName
- Unique identifier for the Android app that is being updated; for example, "com.spiffygame".editId
- Unique identifier for this edit.language
- The language code (a BCP-47 language tag) of the localized listing whose images are to read or
modified. For example, to select Austrian German, pass "de-AT".imageType
- imageId
- Unique identifier an image within the set of images attached to this edit.java.io.IOException
public AndroidPublisher.Edits.Images.Deleteall deleteall(java.lang.String packageName, java.lang.String editId, java.lang.String language, java.lang.String imageType) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.packageName
- Unique identifier for the Android app that is being updated; for example, "com.spiffygame".editId
- Unique identifier for this edit.language
- The language code (a BCP-47 language tag) of the localized listing whose images are to read or
modified. For example, to select Austrian German, pass "de-AT".imageType
- java.io.IOException
public AndroidPublisher.Edits.Images.List list(java.lang.String packageName, java.lang.String editId, java.lang.String language, java.lang.String imageType) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.packageName
- Unique identifier for the Android app that is being updated; for example, "com.spiffygame".editId
- Unique identifier for this edit.language
- The language code (a BCP-47 language tag) of the localized listing whose images are to read or
modified. For example, to select Austrian German, pass "de-AT".imageType
- java.io.IOException
public AndroidPublisher.Edits.Images.Upload upload(java.lang.String packageName, java.lang.String editId, java.lang.String language, java.lang.String imageType) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.packageName
- Unique identifier for the Android app that is being updated; for example, "com.spiffygame".editId
- Unique identifier for this edit.language
- The language code (a BCP-47 language tag) of the localized listing whose images are to read or
modified. For example, to select Austrian German, pass "de-AT".imageType
- java.io.IOException
public AndroidPublisher.Edits.Images.Upload upload(java.lang.String packageName, java.lang.String editId, java.lang.String language, java.lang.String imageType, com.google.api.client.http.AbstractInputStreamContent mediaContent) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
This method should be used for uploading media content.
packageName
- Unique identifier for the Android app that is being updated; for example, "com.spiffygame".@param editId Unique identifier for this edit.@param language The language code (a BCP-47 language tag) of the localized listing whose images are to read or
modified. For example, to select Austrian German, pass "de-AT".@param imageTypemediaContent
- The media HTTP content or null
if none.java.io.IOException
- if the initialization of the request fails