Data for a connection event.

interface PixelSessionConnectionEvent {
    reason:
        | "canceled"
        | "success"
        | "unknown"
        | "host"
        | "timeout"
        | "notSupported"
        | "linkLoss"
        | "bluetoothOff"
        | "peripheral";
    status:
        | "connected"
        | "connecting"
        | "disconnected"
        | "failedToConnect"
        | "ready"
        | "disconnecting";
    systemId: string;
}

Properties

reason:
    | "canceled"
    | "success"
    | "unknown"
    | "host"
    | "timeout"
    | "notSupported"
    | "linkLoss"
    | "bluetoothOff"
    | "peripheral"
status:
    | "connected"
    | "connecting"
    | "disconnected"
    | "failedToConnect"
    | "ready"
    | "disconnecting"
systemId: string