AppleThermalState class
AppleThermalState is the thermal state as reported by Apple devices when available or applicable to the platform. The full list of states (enum) is available here: https://developer.apple.com/documentation/foundation/processinfo/thermalstate
- Inheritance
-
- Object
- ProtobufEnum
- AppleThermalState
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
This enum's name, as specified in the .proto file.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → int
-
This enum's integer value, as specified in the .proto file.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Returns this enum's
name
or thevalue
if names are not represented.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
valueOf(
int value) → AppleThermalState?
Constants
- APPLE_THERMAL_STATE_CRITICAL → const AppleThermalState
- APPLE_THERMAL_STATE_FAIR → const AppleThermalState
- APPLE_THERMAL_STATE_NOMINAL → const AppleThermalState
- APPLE_THERMAL_STATE_SERIOUS → const AppleThermalState
- APPLE_THERMAL_STATE_UNSPECIFIED → const AppleThermalState
-
values
→ const List<
AppleThermalState>