SankofaUpdateStatus enum
Status of a checkForKbcUpdate call.
Mirrors Shorebird's UpdateStatus enum so customers migrating
between the two SDKs see the same value set. bannedLocally is
Sankofa-specific — it means the device's auto-rollback subsystem
has previously flagged this label as crash-loop bad and the SDK
refuses to re-download it until the host clears the local ban.
Values
- upToDate → const SankofaUpdateStatus
-
Server returned
has_update: false. No patch to stage. - outdated → const SankofaUpdateStatus
-
A new patch is available. See SankofaUpdateCheckResult.update for label, size, signed download URL, and mandatory flag.
-
Could not reach the server (DNS failure, TCP refused, timeout, 5xx). The host should treat this as transient — try again on next launch / resume.
- invalidConfig → const SankofaUpdateStatus
-
Configuration error from the server (4xx other than auth) — usually a mismatched
engine_versionor unknownapp_version. Reason string is in SankofaUpdateCheckResult.reason. - bannedLocally → const SankofaUpdateStatus
-
The latest available patch has the same label as a previous patch that auto-rolled-back on this device. The recorder refuses to re-download until the host calls
Sankofa.deploy.clearBannedKbcLabels().
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<
SankofaUpdateStatus> - A constant List of the values in this enum, in order of their declaration.