public class AndroidPublisher.Edits.Expansionfiles extends Object
Modifier and Type | Class and Description |
---|---|
class |
AndroidPublisher.Edits.Expansionfiles.Get |
class |
AndroidPublisher.Edits.Expansionfiles.Patch |
class |
AndroidPublisher.Edits.Expansionfiles.Update |
class |
AndroidPublisher.Edits.Expansionfiles.Upload |
Constructor and Description |
---|
Expansionfiles() |
Modifier and Type | Method and Description |
---|---|
AndroidPublisher.Edits.Expansionfiles.Get |
get(String packageName,
String editId,
Integer apkVersionCode,
String expansionFileType)
Fetches the Expansion File configuration for the APK specified.
|
AndroidPublisher.Edits.Expansionfiles.Patch |
patch(String packageName,
String editId,
Integer apkVersionCode,
String expansionFileType,
ExpansionFile content)
Updates the APK's Expansion File configuration to reference another APK's Expansion Files.
|
AndroidPublisher.Edits.Expansionfiles.Update |
update(String packageName,
String editId,
Integer apkVersionCode,
String expansionFileType,
ExpansionFile content)
Updates the APK's Expansion File configuration to reference another APK's Expansion Files.
|
AndroidPublisher.Edits.Expansionfiles.Upload |
upload(String packageName,
String editId,
Integer apkVersionCode,
String expansionFileType)
Uploads and attaches a new Expansion File to the APK specified.
|
AndroidPublisher.Edits.Expansionfiles.Upload |
upload(String packageName,
String editId,
Integer apkVersionCode,
String expansionFileType,
AbstractInputStreamContent mediaContent)
Uploads and attaches a new Expansion File to the APK specified.
|
public AndroidPublisher.Edits.Expansionfiles.Get get(String packageName, String editId, Integer apkVersionCode, String expansionFileType) throws 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.apkVersionCode
- The version code of the APK whose Expansion File configuration is being read or modified.expansionFileType
- IOException
public AndroidPublisher.Edits.Expansionfiles.Patch patch(String packageName, String editId, Integer apkVersionCode, String expansionFileType, ExpansionFile content) throws 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.apkVersionCode
- The version code of the APK whose Expansion File configuration is being read or modified.expansionFileType
- content
- the ExpansionFile
IOException
public AndroidPublisher.Edits.Expansionfiles.Update update(String packageName, String editId, Integer apkVersionCode, String expansionFileType, ExpansionFile content) throws 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.apkVersionCode
- The version code of the APK whose Expansion File configuration is being read or modified.expansionFileType
- content
- the ExpansionFile
IOException
public AndroidPublisher.Edits.Expansionfiles.Upload upload(String packageName, String editId, Integer apkVersionCode, String expansionFileType) throws 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.apkVersionCode
- The version code of the APK whose Expansion File configuration is being read or modified.expansionFileType
- IOException
public AndroidPublisher.Edits.Expansionfiles.Upload upload(String packageName, String editId, Integer apkVersionCode, String expansionFileType, AbstractInputStreamContent mediaContent) throws 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 apkVersionCode The version code of the APK whose Expansion File configuration is being read or modified.@param expansionFileTypemediaContent
- The media HTTP content or null
if none.IOException
- if the initialization of the request fails