AppUpdateInfo class

Contains information about the availability and progress of an app update.

For more information, see its corresponding page on Android Developers.

Constructors

AppUpdateInfo({required UpdateAvailability updateAvailability, required bool immediateUpdateAllowed, required List<int>? immediateAllowedPreconditions, required bool flexibleUpdateAllowed, required List<int>? flexibleAllowedPreconditions, required int? availableVersionCode, required InstallStatus installStatus, required String packageName, required int? clientVersionStalenessDays, required int updatePriority})

Properties

availableVersionCode int?
The version code of the update.
final
clientVersionStalenessDays int?
The number of days since the Google Play Store app on the user's device has learnt about an available update.
final
flexibleAllowedPreconditions List<int>?
determine the reason why an update cannot be started
final
flexibleUpdateAllowed bool
Whether a flexible update is allowed.
final
hashCode int
The hash code for this object.
no setteroverride
immediateAllowedPreconditions List<int>?
determine the reason why an update cannot be started
final
immediateUpdateAllowed bool
Whether an immediate update is allowed.
final
installStatus InstallStatus
The progress status of the update.
final
packageName String
The package name for the app to be updated.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updateAvailability UpdateAvailability
Whether an update is available for the app.
final
updatePriority int
The in-app update priority for this update, as defined by the developer in the Google Play Developer API.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override