PatchBootStatus enum
Last cold-start patch loading decision.
Apply-time failures are reported by PatchApplyError. After a patch is
installed, the next cold start can still drop it because the app was
upgraded, its starts failed, or the loader hook did not install. This enum
exposes those native decisions to Dart for monitoring.
Values
- noPatch → const PatchBootStatus
-
No local patch is installed or loaded.
- patched → const PatchBootStatus
-
This cold start loaded the patch.
- droppedVersionCodeMismatch → const PatchBootStatus
-
The installed app is not the build the patch was made for (it was upgraded), so the patch was dropped.
- droppedCircuitBreaker → const PatchBootStatus
-
Crash protection tripped after consecutive early boot failures.
- hookInstallFailed → const PatchBootStatus
-
Loader injection failed; this launch used the APK built-in version.
- bytecodeBootFailed → const PatchBootStatus
-
A bytecode startup failed but has not yet reached the crash threshold.
- soBootFailed → const PatchBootStatus
-
An SO startup failed but has not yet reached the crash threshold.
- unknown → const PatchBootStatus
-
Unclassified startup failure.
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<
PatchBootStatus> - A constant List of the values in this enum, in order of their declaration.