Google. Play. AppUpdate
Summary
Enumerations |
|
---|---|
AppUpdateErrorCode{
|
enum In-app update API errors. |
AppUpdateStatus{
|
enum In-app update API status. |
AppUpdateType{
|
enum Methods for performing the in-app update flow. |
UpdateAvailability{
|
enum Availability information for an in-app update. |
Classes |
|
---|---|
Google. |
Contains information about in-app update availability and installation progress. |
Google. |
Manages operations for requesting and launching an in-app update flow. |
Google. |
Options used to configure an in-app update, including AppUpdateType. |
Google. |
A CustomYieldInstruction used to monitor an ongoing in-app update. |
Enumerations
AppUpdateErrorCode
AppUpdateErrorCode
In-app update API errors.
Properties | |
---|---|
ErrorApiNotAvailable
|
The API isn't available on this device. |
ErrorAppNotOwned
|
The app isn't owned by any user on this device. An app is "owned" if it has been acquired from the Play Store. |
ErrorDownloadNotPresent
|
The update hasn't been fully downloaded yet. |
ErrorInternalError
|
An internal error happened in the Play Store. |
ErrorInvalidRequest
|
The request that was sent by the app is malformed. |
ErrorPlayStoreNotFound
|
The Play Store app is either not installed or not the official version. |
ErrorUnknown
|
An unknown error has occurred. |
ErrorUpdateFailed
|
The in-app update failed, for example due to an interrupted network connection. |
ErrorUpdateInProgress
|
The update is already in progress and there is no UI flow to resume. |
ErrorUpdateNotAllowed
|
The update isn't allowed due to the current device state, for example low battery or low disk space. |
ErrorUpdateUnavailable
|
The update is unavailable to this user or device. |
ErrorUserCanceled
|
The update was cancelled by the user. |
NoError
|
No error has occurred. |
NoErrorPartiallyAllowed
|
No error occurred; however, some update types are allowed and others are disallowed. |
AppUpdateStatus
AppUpdateStatus
In-app update API status.
AppUpdateType
AppUpdateType
Methods for performing the in-app update flow.
Note: regardless of the method, the app needs to be restarted to install an update.
UpdateAvailability
UpdateAvailability