Real-Time State Mapping

AndroidCore consists of reactive ValueNotifier fields that direct UI updates when telemetry changes.

Domain Field Name Description
BatterybatteryPercentageCurrent level (0–100)
VolumevolumeMusicCurrent music/media volume
Wi-FiwifiNameConnected SSID
BluetoothbluetoothNameConnected device name
SystemtorchFlashlight state

JSON Telemetry Protocol

All data is sent over encrypted TCP or WebSocket channels from the Android components back to the Windows PC. updateFromMessage() routes each packet to the correct handler.

Example: Battery Update

{
  "type": "battery_update",
  "battery": {
    "percentage": 87,
    "charging": true,
    "voltage": 4.2,
    "temperature": 29.5,
    "health": "Good",
    "plug_type": "USB"
  }
}

Example: Device Flags

{
  "type": "battery_small",
  "states": {
    "wifi": true,
    "bluetooth": false,
    "airplane_mode": false,
    "wifi_name": "HomeNetwork",
    "rotation_lock": false
  }
}

Permissions Context

The system tracks permission states such as NotificationlistenerAccess and AccessibilityServicePermission. The UI shows a warning banner if core permissions are revoked during a session.