HardwareInfo class

Information about device hardware.

The fields related to temperature thresholds are only available if hardwareStatusEnabled is true in the device's policy.

Constructors

HardwareInfo({List<double>? batteryShutdownTemperatures, List<double>? batteryThrottlingTemperatures, String? brand, List<double>? cpuShutdownTemperatures, List<double>? cpuThrottlingTemperatures, String? deviceBasebandVersion, String? enterpriseSpecificId, List<double>? gpuShutdownTemperatures, List<double>? gpuThrottlingTemperatures, String? hardware, String? manufacturer, String? model, String? serialNumber, List<double>? skinShutdownTemperatures, List<double>? skinThrottlingTemperatures})
HardwareInfo.fromJson(Map json_)

Properties

batteryShutdownTemperatures List<double>?
Battery shutdown temperature thresholds in Celsius for each battery on the device.
getter/setter pair
batteryThrottlingTemperatures List<double>?
Battery throttling temperature thresholds in Celsius for each battery on the device.
getter/setter pair
brand String?
Brand of the device.
getter/setter pair
cpuShutdownTemperatures List<double>?
CPU shutdown temperature thresholds in Celsius for each CPU on the device.
getter/setter pair
cpuThrottlingTemperatures List<double>?
CPU throttling temperature thresholds in Celsius for each CPU on the device.
getter/setter pair
deviceBasebandVersion String?
Baseband version.
getter/setter pair
enterpriseSpecificId String?
ID that uniquely identifies a personally-owned device in a particular organization.
getter/setter pair
gpuShutdownTemperatures List<double>?
GPU shutdown temperature thresholds in Celsius for each GPU on the device.
getter/setter pair
gpuThrottlingTemperatures List<double>?
GPU throttling temperature thresholds in Celsius for each GPU on the device.
getter/setter pair
hardware String?
Name of the hardware.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
manufacturer String?
Manufacturer.
getter/setter pair
model String?
The model of the device.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serialNumber String?
The device serial number.
getter/setter pair
skinShutdownTemperatures List<double>?
Device skin shutdown temperature thresholds in Celsius.
getter/setter pair
skinThrottlingTemperatures List<double>?
Device skin throttling temperature thresholds in Celsius.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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