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 the update at the current time.

Public Attributes

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

enum UpdateAvailability

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

Update availability.

enum InstallStatus

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

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

variable updateAvailability

UpdateAvailability updateAvailability;

Update availability.

variable installStatus

InstallStatus installStatus;

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

variable availableVersionCode

long availableVersionCode;

Update version code.