class EditsApks extends Resource (View source)

The "apks" collection of methods.

Typical usage is:

 $androidpublisherService = new Google\Service\AndroidPublisher(...);
 $apks = $androidpublisherService->edits_apks;

Methods

addexternallyhosted(string $packageName, string $editId, ApksAddExternallyHostedRequest $postBody, array $optParams = [])

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. (apks.addexternallyhosted)

listEditsApks(string $packageName, string $editId, array $optParams = [])

Lists all current APKs of the app and edit. (apks.listEditsApks)

Apk
upload(string $packageName, string $editId, array $optParams = [])

Uploads an APK and adds to the current edit. (apks.upload)

Details

ApksAddExternallyHostedResponse addexternallyhosted(string $packageName, string $editId, ApksAddExternallyHostedRequest $postBody, array $optParams = [])

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. (apks.addexternallyhosted)

Parameters

string $packageName

Package name of the app.

string $editId

Identifier of the edit.

ApksAddExternallyHostedRequest $postBody
array $optParams

Optional parameters.

Return Value

ApksAddExternallyHostedResponse

Exceptions

Exception

ApksListResponse listEditsApks(string $packageName, string $editId, array $optParams = [])

Lists all current APKs of the app and edit. (apks.listEditsApks)

Parameters

string $packageName

Package name of the app.

string $editId

Identifier of the edit.

array $optParams

Optional parameters.

Return Value

ApksListResponse

Exceptions

Exception

Apk upload(string $packageName, string $editId, array $optParams = [])

Uploads an APK and adds to the current edit. (apks.upload)

Parameters

string $packageName

Package name of the app.

string $editId

Identifier of the edit.

array $optParams

Optional parameters.

Return Value

Apk

Exceptions

Exception