Tracks connection status,

Enumeration Members

CONNECTED: "CONNECTED"

Connected.

CONNECTING: "CONNECTING"

Connecting.

DISCONNECTED: "DISCONNECTED"

Authorized device available but we haven't connected to it.

NO_AUTHORIZED_DEVICE: "NO_AUTHORIZED_DEVICE"

Supported but no device available.

This will be the case even when a device is physically connected but has not been connected via the browser security UI.

NOT_SUPPORTED: "NOT_SUPPORTED"

Not supported.

RECONNECTING: "RECONNECTING"

Reconnecting. When there is unexpected disruption in the connection, a reconnection is attempted.

SUPPORT_NOT_KNOWN: "SUPPORT_NOT_KNOWN"

Determining whether the connection type is supported requires initialize() to complete.