DeviceActions
Defined in: console-sdk/src/device/deviceModel.ts:362
Per-device actions (SDK_PLAN.md §3.6.3): the whole legacy 5-function blocklist protocol collapsed to three verbs. All are async-rejecting.
Methods
Section titled “Methods”disconnect()
Section titled “disconnect()”disconnect(
options?):Promise<void>
Defined in: console-sdk/src/device/deviceModel.ts:368
Deliberate disconnect ⇒ session-scoped reconnect suppression internally.
Pass { autoReconnect: false } to also persist the per-device opt-out at
the call site.
Parameters
Section titled “Parameters”options?
Section titled “options?”autoReconnect?
Section titled “autoReconnect?”boolean
Returns
Section titled “Returns”Promise<void>
forget()
Section titled “forget()”forget():
Promise<void>
Defined in: console-sdk/src/device/deviceModel.ts:370
Removes persistence and auto-reconnect eligibility.
Returns
Section titled “Returns”Promise<void>
setAutoReconnect()
Section titled “setAutoReconnect()”setAutoReconnect(
enabled):Promise<void>
Defined in: console-sdk/src/device/deviceModel.ts:372
The whole 5-function protocol, now one boolean.
Parameters
Section titled “Parameters”enabled
Section titled “enabled”boolean
Returns
Section titled “Returns”Promise<void>