Expand description
Data models and enums representing native device telemetry and hardware states.
Structs§
- Ambient
Light Reading - Ambient light sensor (ALS) reading.
- Ambient
SplReading - Ambient Sound Pressure Level (SPL) reading bridged from live microphone audio metering.
- Barometer
Reading - Barometric pressure and ISA pressure-altitude sensor reading.
- Battery
Info - Comprehensive battery telemetry.
- Compass
Reading - Magnetometer / compass telemetry.
- Display
Refresh Info - Display refresh rate characteristics and capabilities.
- Geolocation
Info - Complete geolocation telemetry fix for reactive UI and map centering.
- GpuInfo
- GPU hardware introspection information.
- Heart
Rate Reading - Biometric heart-rate monitor reading (bridged from BLE HRS
0x180Dor wearable sensors). - Hinge
Angle Reading - Foldable display / laptop lid hinge angle reading in degrees (
0..=360). - ImuReading
- 6-DoF Inertial Measurement Unit (accelerometer + gyroscope + fused attitude) reading.
- Network
Status - Network connectivity and bandwidth telemetry.
- Pedometer
Reading - Hardware step counter / pedometer reading.
- Proximity
Reading - Optical / infrared proximity sensor reading (phone ear-detection / obstacle proximity).
- Radio
Signal Reading - Wireless radio RSSI and link-quality telemetry (Wi-Fi + Cellular).
- Safe
Area Insets - Screen safe area insets for notches, Dynamic Island, and curved display bezels.
- Screen
Geometry - Geometry, scale factor, and color capabilities of the active display.
Enums§
- Battery
State - Battery charging state.
- Cellular
Gen - Cellular radio generation.
- Color
Gamut - Supported display color gamut standard.
- Connection
Type - Active network interface connection type.
- Foldable
Posture - Physical posture inferred from a foldable or laptop lid hinge angle.
- Geolocation
Source - Origin source of a geolocation fix.
- GpuBackend
- Underlying GPU rendering backend.
- Memory
Pressure - System-wide memory pressure level.
- Thermal
State - Thermal throttling state of the device.
Functions§
- isa_
pressure_ altitude_ m - Computes International Standard Atmosphere (ISA) pressure altitude in meters from barometric
pressure in hectopascals (hPa / mbar):
h = 44330.0 * (1.0 - (P / 1013.25)^0.190295). - lux_
to_ daylight_ factor - Maps illuminance in lux to a smooth perceptual daylight factor in
[0.0, 1.0](0.0= dark room,1.0= bright outdoor daylight >= 10,000 lux).