CpuReader class

This is the CpuReader plugin responsible for communication with (Android) platform plugins using asynchronous method calls through cpu_reader channel.

Constructors

CpuReader()

Properties

hashCode int
The hash code for this object.
no setterinherited
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

Static Properties

cpuInfo Future<CpuInfo>
This retries the overall information CpuInfo of the device CPU.
no setter

Static Methods

asStream(Duration duration) Stream<CpuInfo>
Listens to any updates of the CPU reader
getAbi() Future<String>
Gets the Android Binary Interface getAbi of the device
getCurrentFrequency(int coreNumber) Future<int>
Gets the current frequency for the specified coreNumber
getMinMaxFrequencies(int coreNumber) Future<MinMaxFrequency<int>?>
Gets the current min and max frequencies for the specified coreNumber
getNumberOfCores() Future<int>
getTemperature() Future<double>
Retrieves thermal CPU temperature from the device