HardwarePropertiesManager class

Provides a mechanism of accessing hardware state of a device: CPU, GPU and battery temperatures, CPU usage per core, fan speed, etc.

See: https://developer.android.com/reference/android/os/HardwarePropertiesManager

Constructors

HardwarePropertiesManager()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Constants

DEVICE_TEMPERATURE_BATTERY → const int
Temperature of battery in Celsius. [...]
2
DEVICE_TEMPERATURE_CPU → const int
Temperature of CPUs in Celsius. [...]
0
DEVICE_TEMPERATURE_GPU → const int
Temperature of GPUs in Celsius. [...]
1
DEVICE_TEMPERATURE_SKIN → const int
Temperature of device skin in Celsius. [...]
3
TEMPERATURE_CURRENT → const int
Get current temperature. [...]
0
TEMPERATURE_SHUTDOWN → const int
Get shutdown temperature threshold. [...]
2
TEMPERATURE_THROTTLING → const int
Get throttling temperature threshold. [...]
1
TEMPERATURE_THROTTLING_BELOW_VR_MIN → const int
Get throttling temperature threshold above which minimum clockrates for VR mode will not be met. [...]
3
UNDEFINED_TEMPERATURE → const double
Undefined temperature constant. [...]
-3.4028235E38