ConnectionState Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public enum ConnectionState
type ConnectionState =
- Inheritance
-
ConnectionState
Fields
| Name | Value | Description |
|---|---|---|
| Initializing | 0 | The connection is initializing. This is generally the first state for a Connection returned by a ConnectionService. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| New | 1 | The connection is new and not connected. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Ringing | 2 | An incoming connection is in the ringing state. During this state, the user's ringer or vibration feature will be activated. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Dialing | 3 | An outgoing connection is in the dialing state. In this state the other party has not yet answered the call and the user traditionally hears a ringback tone. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Active | 4 | A connection is active. Both parties are connected to the call and can actively communicate. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Holding | 5 | A connection is on hold. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Disconnected | 6 | A connection has been disconnected. This is the final state once the user has been disconnected from a call either locally, remotely or by an error in the service. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| PullingCall | 7 | The state of an external connection which is in the process of being pulled from a remote device to the local device. A connection can only be in this state if the PROPERTY_IS_EXTERNAL_CALL property and CAPABILITY_CAN_PULL_CALL capability bits are set on the connection. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.