target.apidocs.com.google.api.services.androidpublisher.AndroidPublisher.Edits.Apks.html Maven / Gradle / Ivy
AndroidPublisher.Edits.Apks (Google Play Android Developer API v3-rev20240129-2.0.0)
com.google.api.services.androidpublisher
Class AndroidPublisher.Edits.Apks
- java.lang.Object
-
- com.google.api.services.androidpublisher.AndroidPublisher.Edits.Apks
-
- Enclosing class:
- AndroidPublisher.Edits
public class AndroidPublisher.Edits.Apks
extends Object
The "apks" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
AndroidPublisher.Edits.Apks.Addexternallyhosted
class
AndroidPublisher.Edits.Apks.List
class
AndroidPublisher.Edits.Apks.Upload
-
Constructor Summary
Constructors
Constructor and Description
Apks()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
AndroidPublisher.Edits.Apks.Addexternallyhosted
addexternallyhosted(String packageName,
String editId,
ApksAddExternallyHostedRequest content)
Creates a new APK without uploading the APK itself to Google Play, instead hosting the APK at a
specified URL.
AndroidPublisher.Edits.Apks.List
list(String packageName,
String editId)
Lists all current APKs of the app and edit.
AndroidPublisher.Edits.Apks.Upload
upload(String packageName,
String editId)
Uploads an APK and adds to the current edit.
AndroidPublisher.Edits.Apks.Upload
upload(String packageName,
String editId,
com.google.api.client.http.AbstractInputStreamContent mediaContent)
Uploads an APK and adds to the current edit.
-
-
Method Detail
-
addexternallyhosted
public AndroidPublisher.Edits.Apks.Addexternallyhosted addexternallyhosted(String packageName,
String editId,
ApksAddExternallyHostedRequest content)
throws IOException
Creates a new APK without uploading the APK itself to Google Play, instead hosting the APK at a
specified URL. This function is only available to organizations using Managed Play whose
application is configured to restrict distribution to the organizations.
Create a request for the method "apks.addexternallyhosted".
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.
content
- the ApksAddExternallyHostedRequest
- Returns:
- the request
- Throws:
IOException
-
list
public AndroidPublisher.Edits.Apks.List list(String packageName,
String editId)
throws IOException
Lists all current APKs of the app and edit.
Create a request for the method "apks.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.
- Returns:
- the request
- Throws:
IOException
-
upload
public AndroidPublisher.Edits.Apks.Upload upload(String packageName,
String editId)
throws IOException
Uploads an APK and adds to the current edit.
Create a request for the method "apks.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.
- Returns:
- the request
- Throws:
IOException
-
upload
public AndroidPublisher.Edits.Apks.Upload upload(String packageName,
String editId,
com.google.api.client.http.AbstractInputStreamContent mediaContent)
throws IOException
Uploads an APK and adds to the current edit.
Create a request for the method "apks.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.
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