ClockJudgement enum
How a new ClockSample compares to the previously recorded one.
Values
- normal → const ClockJudgement
-
Wall-clock delta roughly matches monotonic delta — ordinary time passing (including normal drift/NTP correction within tolerance).
- rewind → const ClockJudgement
-
Wall clock moved backward relative to its own last reading.
- suspiciousForwardJump → const ClockJudgement
-
Wall clock jumped forward far more than the monotonic reading did — the device clock was very likely changed by hand (or by a misbehaving auto-sync) while this process was running.
- reboot → const ClockJudgement
-
The monotonic reading went backward, which only happens when this is a fresh process (a prior process's monotonic reading, persisted to storage, is naturally larger than a just-started
Stopwatch's). There is no in-process monotonic baseline to compare the wall-clock delta against for this transition.
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<
ClockJudgement> - A constant List of the values in this enum, in order of their declaration.