API/Autodoc/Classes


RuStore::AppUpdate::AppUpdateInfo

Information about the available update.

Public Types

Name
enum class UpdateAvailability { UNKNOWN, UPDATE_NOT_AVAILABLE, UPDATE_AVAILABLE, DEVELOPER_TRIGGERED_UPDATE_IN_PROGRESS}
Update availability.
enum class InstallStatus { UNKNOWN, DOWNLOADED, DOWNLOADING, FAILED, INSTALLING, PENDING}
Update installation status, if the user is already installing an update at the current time.

Public Attributes

Name
UpdateAvailability updateAvailability — Update availability.
InstallStatus installStatus — Update installation status, if the user is already installing an update at the current time.
long availableVersionCode — Version code of the update.

enum UpdateAvailability

Enumerator Value Description
UNKNOWN Default value.
UPDATE_NOT_AVAILABLE Update not required.
UPDATE_AVAILABLE Update needs to be downloaded or update already downloaded to the user’s device.
DEVELOPER_TRIGGERED_UPDATE_IN_PROGRESS Update is already downloading or installation has already started.

Update availability.

enum InstallStatus

Enumerator Value Description
UNKNOWN Default value.
DOWNLOADED Downloaded.
DOWNLOADING Downloading.
FAILED Error.
INSTALLING Installing.
PENDING Pending.

Update installation status, if the user is already installing an update at the current time.

variable updateAvailability

UpdateAvailability updateAvailability;

Update availability.

variable installStatus

InstallStatus installStatus;

Update installation status, if the user is already installing an update at the current time.

variable availableVersionCode

long availableVersionCode;

Version code of the update.