Names of all togglable sounds.
Emitted when an incoming Connection is canceled.
The canceled Connection.
Emitted when a Connection has been opened.
The Connection that was opened.
Emitted when a Connection has been disconnected.
The Connection that was disconnected.
Emitted when the Device receives an error.
Emitted when an incoming Connection is received.
The incoming Connection.
The AudioHelper instance associated with this Device.
An array of Connections. Though only one can be active, multiple may exist when there are multiple incoming, unanswered Connections.
Whether or not Device.setup has been called.
Methods to enable/disable each sound. Empty if the Device has not yet been set up.
The JWT string currently being used to authenticate this Device.
The AudioContext to be used by Device instances.
Which sound file extension is supported.
Whether or not this SDK is supported by the current browser.
Package name of the SDK.
Current SDK version.
Return the active Connection. Null or undefined for backward compatibility.
Make an outgoing Call.
Add a listener for the connect event.
A handler to set on the connect event.
Destroy the Device, freeing references to be garbage collected.
Set a handler for the disconnect event.
Disconnect all Connections.
Set a handler for the error event.
Set a handler for the incoming event.
Set a handler for the offline event.
Set a handler for the ready event.
Register to receive incoming calls. Does not need to be called unless Device.unregisterPresence has been called directly.
Remove an event listener
The event name to stop listening for
The callback to remove
String representation of Device instance.
Unregister to receiving incoming calls.
Update the token and re-register.
The new token JWT string to register with.
Run some tests to identify issues, if any, prohibiting successful calling.
A Twilio JWT token string
String representation of Device class.
Generated using TypeDoc
Twilio Device. Allows registration for incoming calls, and placing outgoing calls.