InAppUpdateErrorCode enum

The reason an in-app update could not be started or failed.

Keep in sync with InAppUpdateErrorCode.kt on Android.

Inheritance
Available extensions

Values

userCanceled → const InAppUpdateErrorCode

The user has denied or canceled the update.

const InAppUpdateErrorCode('USER_CANCELED')
updateFailed → const InAppUpdateErrorCode

Some other error prevented either the user from providing consent or the update from proceeding.

const InAppUpdateErrorCode('UPDATE_FAILED')
updateTypeNotSupported → const InAppUpdateErrorCode

The requested AppUpdateType is not supported.

const InAppUpdateErrorCode('UPDATE_TYPE_NOT_SUPPORTED')
checkForUpdateRequired → const InAppUpdateErrorCode

checkForUpdate must be called before startAnUpdate.

const InAppUpdateErrorCode('CHECK_FOR_UPDATE_REQUIRED')
installFailed → const InAppUpdateErrorCode

The update failed while downloading or installing. details holds the Play Core InstallErrorCode.

const InAppUpdateErrorCode('INSTALL_FAILED')
unknown → const InAppUpdateErrorCode

An error not covered by the other values.

const InAppUpdateErrorCode(null)

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
platformCode → String?
The error code sent by the platform for this error.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

fromPlatformCode(String code) → InAppUpdateErrorCode
Maps a platform error code to its InAppUpdateErrorCode, or unknown.

Constants

values → const List<InAppUpdateErrorCode>
A constant List of the values in this enum, in order of their declaration.