Enumerations

Here is a list of enumerations you will find throughout the plugin.
These enumerations are named after the same enumerations/constants found in the play services core library.

EAppUpdateType

Name Description
UPDATE_TYPE_FLEXIBLE A type of application update which downloads in the background enabling your application to continue during the download.
UPDATE_TYPE_IMMEDIATE A type of update which is required in order to continue, use of your application is halted untill the update is complete.

EInstallErrorCode

Name Description
NO_ERROR No error occurred.
NO_ERROR_PARTIALLY_ALLOWED This is the same as NO_ERROR and is currently deprecated.
ERROR_UNKNOWN An unknown error occurred.
ERROR_API_NOT_AVAILABLE The functionality is not available on this device.
ERROR_INVALID_REQUEST The request that was sent by the app is malformed.
ERROR_INSTALL_UNAVAILABLE The install is unavailable to this user or device.
ERROR_INSTALL_NOT_ALLOWED The download/install is not allowed, due to the current device state (e.g. low battery, low disk space, ...).
ERROR_DOWNLOAD_NOT_PRESENT The install/update has not been (fully) downloaded yet.
ERROR_PLAY_STORE_NOT_FOUND The Play Store app is either not installed or not the official version.
ERROR_APP_NOT_OWNED The app is not owned by any user on this device. An app is "owned" if it has been acquired from Play.
ERROR_INTERNAL_ERROR An internal error happened in the Play Store.

EInstallStatus

Name Description
UNKNOWN The Install Status is in an unrecognisable state.
REQUIRES_UI_INTENT A Play Store user interface flow needs to be started.
PENDING The installation is waiting to be installed.
DOWNLOADING The update is currently being download.
DOWNLOADED The update is fully downloaded.
INSTALLING The update is currently being installed.
INSTALLED The update is installed.
FAILED The installation failed.
CANCELED The installation was cancelled.

EUpdateAvailability

Name Description
UNKNOWN It is unknown if there is an update available or not.
UPDATE_NOT_AVAILABLE There is no update available to download and install.
UPDATE_AVAILABLE There is an update available to be downloaded and installed.
DEVELOPER_TRIGGERED_UPDATE_IN_PROGRESS An update has been triggered by the developer (you) and is in progress.

EPlayUpdateResult

Name Description
UPDATE_RESULT_OK The user accepted the application update request.
UPDATE_RESULT_CANCELLED The user rejected the application update request.
UPDATE_RESULT_FAILED There was an error understanding the users action.