com.twilio.clientEnumAn enum describing the current state of the Connection.
| Name | Description | Type |
|---|---|---|
| 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 |
PENDINGThe connection is new and incoming, and has not been accepted, ignored, or rejected yet.
CONNECTINGThe connection has been initiated (outgoing) or accepted (incoming), and is in the process of connecting.
CONNECTEDThe connection is connected and active.
DISCONNECTEDThe connection has been disconnected, either due to an explicit hangup command or an error.