The Twilio Client SDK for Android has been deprecated and replaced by Twilio's new Programmable Voice SDK.
The Programmable Voice SDK offers many improvements over the Twilio Client SDK, including greater stability, improved backgrounding, and built-in support for push notifications for incoming calls.
If you're just getting started with a Twilio mobile application for voice calling, we recommend you use the Programmable Voice SDK. If you're already using the Twilio Client SDK, you should plan to upgrade to the Programmable Voice SDK as soon as you're able.
Get started with the new Programmable Voice SDK by checking out the quickstart for Programmable Voice SDK for Android on Github.
An enum describing the current state of the Connection.
|PENDING||The connection is new and incoming, and has not been accepted, ignored, or rejected yet.||Field|
|CONNECTING||The connection has been initiated (outgoing) or accepted (incoming), and is in the process of connecting.||Field|
|CONNECTED||The connection is connected and active.||Field|
|DISCONNECTED||The connection has been disconnected, either due to an explicit hangup command or an error.||Field|
The connection is new and incoming, and has not been accepted, ignored, or rejected yet.
The connection has been initiated (outgoing) or accepted (incoming), and is in the process of connecting.
The connection is connected and active.
The connection has been disconnected, either due to an explicit hangup command or an error.