UpdateStatus enum

Result of a Sankofa Deploy update check or install lifecycle event.

Mirrors the same enum in the Android plugin's SankofaUpdaterJNI return-codes layer (SankofaUpdaterReturnCode). When the platform channel receives a status string, it is mapped to one of these values via SankofaDeployPlatform._parseStatus.

Inheritance
Available extensions

Values

upToDate → const UpdateStatus

No newer patch available for the current engine + binary version.

updateAvailable → const UpdateStatus

A patch is available and (depending on policy) staged for install on the next launch.

downloading → const UpdateStatus

A patch download is in progress; subsequent checks will land on installed (success) or failed (download error).

installed → const UpdateStatus

A patch was downloaded, SHA-verified, and persisted. Active on next app launch.

failed → const UpdateStatus

The update flow encountered an unrecoverable error. The host can inspect the platform log for details.

rolledBack → const UpdateStatus

A previously installed patch was rolled back (auto-recovery from a crash loop). The app is running the prior-good version.

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
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

Constants

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