Address
An Address represents a single directory entry — a contact, room, or any
other dialable endpoint exposed by the user’s fabric. Address instances
are produced by the Directory
returned from
SignalWire.directory$;
applications do not construct them directly.
Beyond identity metadata (display name, type, cover/preview URLs), Address
exposes lazy observables for the entry’s interaction history
(history$) and text messages
(textMessages$). Subscribing to either kicks off the
underlying REST fetch and pages additional results in on demand. Use
textMessage to send a new message to the address.
The reactive accessors (displayName$, type$, locked$, etc.) emit when
the server pushes an update for this address; their snapshot counterparts
(displayName, type, locked) return the most recent cached value. The
instance is destroyed when the parent directory page is released.
Extends
Destroyable
Constructors
Constructor
Parameters
addressId
Server-assigned ID of the address.
conversationManager
Provider used to load and manage conversations for this address.
addressProvider
Provider used to load directory entries for this address.
Properties
history$
Observable of call history for this address. Lazily loads conversation data. See AddressHistory.
textMessages$
Observable of text messages for this address. Lazily loads conversation data. See TextMessage.