CallState Enum

Definition

public enum CallState
type CallState = 
Inheritance
CallState

Fields

Name Value Description
New 0

The state of a Call when newly created.

Dialing 1

The state of an outgoing Call when dialing the remote number, but not yet connected.

Ringing 2

The state of an incoming Call when ringing locally, but not yet connected.

Holding 3

The state of a Call when in a holding state.

Active 4

The state of a Call when actively supporting a conversation.

Disconnected 7

The state of a Call when no further voice or other communication is being transmitted, the remote side has been or will inevitably be informed that the Call is no longer active, and the local data transport has or inevitably will release resources associated with this Call.

SelectPhoneAccount 8

The state of an outgoing Call when waiting for the user to select a PhoneAccount through which to place the call.

Connecting 9

The initial state of an outgoing Call. Common transitions are to the Dialing state for a successful call or to Disconnected if it failed.

Disconnecting 10

The state of a Call when the user has initiated a disconnection, but the call has not yet been disconnected by the underlying ConnectionService. The next state of the call is potentially Disconnected.

PullingCall 11

The state of an external call that is in the process of being pulled from a remote device to the local device. A call can only be in this state if the external-call property and pull-call capability are set on the call. An InCallService sees this state only when its manifest sets the external-calls metadata to true.

AudioProcessing 12

The state of a Call that is active with the network, but whose audio is intercepted by an app on the local device. Telecom does not hold audio focus in this state, and the Call is invisible to the user except for a persistent notification.

SimulatedRinging 13

The state of a Call presented to the user after AudioProcessing. The Call remains active with the network, and Telecom holds audio focus and plays a ringtone when appropriate.

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.

Applies to