FreakingGenius - v0.1.0
    Preparing search index...

    Interface DeviceStateSnapshot

    All observable fields of the edge device's runtime state.

    interface DeviceStateSnapshot {
        activeSession: Session | null;
        capabilities: BridgeCapabilities | null;
        isBridgeConnected: boolean;
        lastMessageAt: number | null;
        strokeCount: number;
    }
    Index

    Properties

    activeSession: Session | null

    The active session, or null when no session is in progress.

    capabilities: BridgeCapabilities | null

    Hardware capabilities of this device (set once on start-up).

    isBridgeConnected: boolean

    Whether the WebSocket bridge to the tutor is currently connected.

    lastMessageAt: number | null

    Unix timestamp (ms) of the last message received from the tutor.

    strokeCount: number

    Number of strokes captured in the current session.