Google.Play.AppUpdate

Summary

Enumerations

AppUpdateErrorCode{
  NoError = 0,
  NoErrorPartiallyAllowed = 1,
  ErrorUnknown = 2,
  ErrorApiNotAvailable = 3,
  ErrorInvalidRequest = 4,
  ErrorUpdateUnavailable = 5,
  ErrorUpdateNotAllowed = 6,
  ErrorDownloadNotPresent = 7,
  ErrorUpdateInProgress = 8,
  ErrorInternalError = 9,
  ErrorUserCanceled = 10,
  ErrorUpdateFailed = 11,
  ErrorPlayStoreNotFound = 12,
  ErrorAppNotOwned = 13
}
enum
In-app update API errors.
AppUpdateStatus{
  Unknown = 0,
  Pending = 1,
  Downloading = 2,
  Downloaded = 3,
  Installing = 4,
  Installed = 5,
  Failed = 6,
  Canceled = 7
}
enum
In-app update API status.
AppUpdateType{
  Flexible = 0,
  Immediate = 1
}
enum
Methods for performing the in-app update flow.
UpdateAvailability{
  Unknown = 0,
  UpdateNotAvailable = 1,
  UpdateAvailable = 2,
  DeveloperTriggeredUpdateInProgress = 3
}
enum
Availability information for an in-app update.

Classes

Google.Play.AppUpdate.AppUpdateInfo

Contains information about in-app update availability and installation progress.

Google.Play.AppUpdate.AppUpdateManager

Manages operations for requesting and launching an in-app update flow.

Google.Play.AppUpdate.AppUpdateOptions

Options used to configure an in-app update, including AppUpdateType.

Google.Play.AppUpdate.AppUpdateRequest

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.

Properties
Canceled

An update has been canceled.

Downloaded

An update has been fully downloaded.

Downloading

Download of an update is in progress.

Failed

An update has failed.

Installed

An update has been successfully installed.

Installing

An update is being installed.

Pending

Download of an update is pending and will be processed soon.

Unknown

The update status is unknown.

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.

Properties
Flexible

Flexible update flow, where the user can still use the app while the update is downloaded.

Immediate

Immediate update flow, where the user is unable to interact with the app while the update is downloaded and installed.

UpdateAvailability

 UpdateAvailability

Availability information for an in-app update.

Properties
DeveloperTriggeredUpdateInProgress

An update has been triggered by the developer and is in progress.

Unknown

Update availability is unknown.

UpdateAvailable

An update is available.

UpdateNotAvailable

No updates are available.