Skip to content

DeviceQuery

Defined in: console-sdk/src/device/deviceModel.ts:237

A live-state device filter (SDK_PLAN.md §3.6.2). Every field is a conjunctive predicate; omitting a field matches everything on that axis. The no-query default is the full unified list (saved + nearby + connected).

optional available?: boolean

Defined in: console-sdk/src/device/deviceModel.ts:248

true ⇒ present within the scan TTL or currently connected; false ⇒ neither. NOTE: saved-but-out-of-range devices are NOT available — a connect screen that should also list them omits this filter entirely.


optional connected?: boolean

Defined in: console-sdk/src/device/deviceModel.ts:242

trueconnection.status is 'ready', 'reconnecting', or 'updating'; false ⇒ none of those.


optional modality?: Modality | readonly Modality[]

Defined in: console-sdk/src/device/deviceModel.ts:252

Filter by one modality or any of several.


optional saved?: boolean

Defined in: console-sdk/src/device/deviceModel.ts:250

Filter by saved/not-saved.