AndroidThermalState class
AndroidThermalState is reported by the Android API. The full list of values is documented here https://developer.android.com/reference/android/os/PowerManager.html#getCurrentThermalStatus()
- Inheritance
-
- Object
- ProtobufEnum
- AndroidThermalState
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) → AndroidThermalState?
Constants
- ANDROID_THERMAL_STATE_CRITICAL → const AndroidThermalState
- ANDROID_THERMAL_STATE_EMERGENCY → const AndroidThermalState
- ANDROID_THERMAL_STATE_LIGHT → const AndroidThermalState
- ANDROID_THERMAL_STATE_MODERATE → const AndroidThermalState
- ANDROID_THERMAL_STATE_NONE → const AndroidThermalState
- ANDROID_THERMAL_STATE_SEVERE → const AndroidThermalState
- ANDROID_THERMAL_STATE_SHUTDOWN → const AndroidThermalState
- ANDROID_THERMAL_STATE_UNSPECIFIED → const AndroidThermalState
-
values
→ const List<
AndroidThermalState>