TemperatureLevel enum Sensor Data Source
Temperature severity levels.
Categorizes temperature readings into severity bands, useful for thermal management and device safety monitoring.
See also:
- Temperature — Temperature sensor data.
Values
- unknown → const TemperatureLevel
-
Temperature level is unknown or could not be determined.
- normal → const TemperatureLevel
-
Temperature level is normal (within safe operating range).
- fair → const TemperatureLevel
-
Fair temperature level (degrees > 35°C and ≤ 45°C).
- serious → const TemperatureLevel
-
Serious temperature level (degrees > 45°C and ≤ 55°C).
- critical → const TemperatureLevel
-
Critical temperature level (degrees > 55°C and ≤ 65°C).
- shuttingDown → const TemperatureLevel
-
Device is shutting down due to dangerously high temperature (degrees > 65°C).
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<
TemperatureLevel> - A constant List of the values in this enum, in order of their declaration.