Names of all togglable sounds.
Construct a Device instance. The Device can be registered to make and listen for calls using Device.register.
Emitted when the Device has been destroyed.
Emitted when the Device receives an error.
Emitted when the Device is registered.
Emitted when the Device is registering.
Emitted when the Device is unregistered.
Return the AudioHelper used by this Device.
Returns the identity associated with the Device for incoming calls. Only populated when registered.
Whether the Device is currently on an active Call.
Get the token used by this Device.
Whether or not this SDK is supported by the current browser.
Package name of the SDK.
Current SDK version.
Make an outgoing Call.
Destroy the Device, freeing references to be garbage collected.
Disconnect all Calls.
Register the Device
to the Twilio backend, allowing it to receive calls.
Unregister the Device
to the Twilio backend, disallowing it to receive
calls.
Update the token used by this Device to connect to Twilio. It is recommended to call this API after Device.tokenWillExpireEvent is emitted, and before or after a call to prevent a potential ~1s audio loss during the update process.
Run some tests to identify issues, if any, prohibiting successful calling.
A Twilio JWT token string
Generated using TypeDoc
Twilio Device. Allows registration for incoming calls, and placing outgoing calls.