API reference

SessionState Enum

Extends Int, Sendable
Represents the current state of a device session in the Wearables Device Access Toolkit.

Signature

enum SessionState: Int, Sendable

Enumeration Constants

MemberDescription
stopped
The session is not active and not attempting to connect.
waitingForDevice
The session is waiting for a device to become available for connection.
running
The session is actively running and processing data from the device.
paused
The session is temporarily paused but maintains its connection.
unknown
The session state is not currently determinable.

Properties

description : String
[Get]
Provides a human-readable description of the session state.