Get Started

Connection.State Class Reference

Overview

  • Package: com.twilio.client
  • Subclass of: Enum

An enum describing the current state of the Connection.

Tasks

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

Fields

PENDING

The connection is new and incoming, and has not been accepted, ignored, or rejected yet.

CONNECTING

The connection has been initiated (outgoing) or accepted (incoming), and is in the process of connecting.

CONNECTED

The connection is connected and active.

DISCONNECTED

The connection has been disconnected, either due to an explicit hangup command or an error.