Skip to content

Regrip API / session/smartCubeSession / SmartCubeSessionState

Type Alias: SmartCubeSessionState

SmartCubeSessionState = object

Defined in: packages/core/src/session/smartCubeSession.ts:100

Observable state owned by a smart-cube session.

Properties

connection

connection: SmartCubeTransportConnection | null

Defined in: packages/core/src/session/smartCubeSession.ts:102


error

error: string | null

Defined in: packages/core/src/session/smartCubeSession.ts:107


features

features: SessionFeatures

Defined in: packages/core/src/session/smartCubeSession.ts:106

Fully resolved feature configuration for the selected device profile.


lastEvent

lastEvent: SmartCubeSessionEvent | null

Defined in: packages/core/src/session/smartCubeSession.ts:103


profile

profile: ResolvedProfile

Defined in: packages/core/src/session/smartCubeSession.ts:104


status

status: "disconnected" | "connecting" | "connected" | "error"

Defined in: packages/core/src/session/smartCubeSession.ts:101