Expand description
Push-based snapshots of local device capability changes.
Emitted when any of (battery level, charging state, relay role) changes
between consecutive OfflineProtocol::process() ticks. Apps that need
“always-on” polling consume this instead of reconstructing the state from
the cumulative TransportMetrics stream.
Advertised services are not represented — the SDK does not currently track an advertised-services list. A later step introduces that surface with its own dedicated record.
Structs§
- Device
Capability Snapshot - Snapshot of local device capability at the moment of emission.
Constants§
- CHANGED_
BATTERY - Bitmask bit indicating
battery_levelchanged between ticks. - CHANGED_
CHARGING - Bitmask bit indicating
is_chargingchanged between ticks. - CHANGED_
RELAY_ ROLE - Bitmask bit indicating
relay_rolechanged between ticks.