target.apidocs.com.google.api.services.androidpublisher.AndroidPublisher.Edits.Expansionfiles.html Maven / Gradle / Ivy
AndroidPublisher.Edits.Expansionfiles (Google Play Android Developer API v3-rev20240129-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.
-
-
Nested Class Summary
Nested Classes
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 Summary
Constructors
Constructor and Description
Expansionfiles()
-
Method Summary
All Methods Instance Methods Concrete Methods
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 specified APK.
AndroidPublisher.Edits.Expansionfiles.Patch
patch(String packageName,
String editId,
Integer apkVersionCode,
String expansionFileType,
ExpansionFile content)
Patches the APK's expansion file configuration to reference another APK's expansion file.
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 file.
AndroidPublisher.Edits.Expansionfiles.Upload
upload(String packageName,
String editId,
Integer apkVersionCode,
String expansionFileType)
Uploads a new expansion file and attaches to the specified APK.
AndroidPublisher.Edits.Expansionfiles.Upload
upload(String packageName,
String editId,
Integer apkVersionCode,
String expansionFileType,
com.google.api.client.http.AbstractInputStreamContent mediaContent)
Uploads a new expansion file and attaches to the specified APK.
-
-
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 - 2025 Weber Informatics LLC | Privacy Policy