Google.Play.AppUpdate.AppUpdateInfo

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

Summary

Properties

AppUpdateStatus
Returns update status.
AvailableVersionCode
int
Returns the app version code of an available or in-progress update, or an arbitrary value if no update is available.
BytesDownloaded
ulong
Returns the number of bytes already downloaded for the update.
ClientVersionStalenessDays
int
Returns the number of days that the GooglePlay Store app on the user's device has known about an available update, or null if update or staleness information is unavailable.
TotalBytesToDownload
ulong
Returns the total number of bytes to download for the update.
UpdateAvailability
Returns update availability.
UpdatePriority
int
Returns the priority for this update, as defined by the developer using the "inAppUpdatePriority" field of the GooglePlay Developer API's edits.track.

Public functions

IsUpdateTypeAllowed(AppUpdateOptions appUpdateOptions)
bool
Returns true if an update with the specified options is allowed, false otherwise.
ToString()
override string
Returns a debug string containing all fields of this class.

Properties

AppUpdateStatus

AppUpdateStatus AppUpdateStatus

Returns update status.

AvailableVersionCode

int AvailableVersionCode

Returns the app version code of an available or in-progress update, or an arbitrary value if no update is available.

BytesDownloaded

ulong BytesDownloaded

Returns the number of bytes already downloaded for the update.

ClientVersionStalenessDays

int ClientVersionStalenessDays

Returns the number of days that the GooglePlay Store app on the user's device has known about an available update, or null if update or staleness information is unavailable.

TotalBytesToDownload

ulong TotalBytesToDownload

Returns the total number of bytes to download for the update.

UpdateAvailability

UpdateAvailability UpdateAvailability

Returns update availability.

UpdatePriority

int UpdatePriority

Returns the priority for this update, as defined by the developer using the "inAppUpdatePriority" field of the GooglePlay Developer API's edits.track.

Public functions

IsUpdateTypeAllowed

bool IsUpdateTypeAllowed(
  AppUpdateOptions appUpdateOptions
)

Returns true if an update with the specified options is allowed, false otherwise.

Details
Parameters
appUpdateOptions
The type of update to perform.

ToString

override string ToString()

Returns a debug string containing all fields of this class.