Skip to content

@camera.ui/sdk / plugin / NotifierDevice

Interface: NotifierDevice ​

Defined in: plugin/notifier.ts:24

A push-target managed by a notifier plugin (one phone, one chat, ...). Devices are owned by the plugin that registered them; the manager queries plugins for their device list rather than maintaining a shared registry.

Properties ​

active ​

active: boolean

Defined in: plugin/notifier.ts:32

False while the user has muted this device; the manager skips it.


id ​

id: string

Defined in: plugin/notifier.ts:26

Plugin-assigned device id, unique within the notifier.


metadata? ​

optional metadata?: Record<string, unknown>

Defined in: plugin/notifier.ts:34

Plugin-specific extras (push tokens, chat ids, platform hints).


name ​

name: string

Defined in: plugin/notifier.ts:30

Display name shown in the UI.


ownerUserId ​

ownerUserId: string

Defined in: plugin/notifier.ts:28

User the device belongs to.