TelemetrySnapshot class

A point-in-time snapshot of all telemetry values.

Constructors

TelemetrySnapshot({required int thermalState, required double batteryLevel, required int memoryRssBytes, required int availableMemoryBytes, required bool isLowPowerMode, required DateTime timestamp})
const

Properties

availableMemoryBytes int
Available memory in bytes (os_proc_available_memory), or 0 if unavailable
final
batteryLevel double
Battery level: 0.0 to 1.0, or -1.0 if unknown
final
hashCode int
The hash code for this object.
no setterinherited
isLowPowerMode bool
Whether iOS Low Power Mode is enabled
final
memoryRssBytes int
Process resident set size in bytes, or 0 if unavailable
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
thermalState int
iOS thermal state: 0=nominal, 1=fair, 2=serious, 3=critical, -1=unknown
final
timestamp DateTime
When this snapshot was taken
final

Methods

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

Operators

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