What does the different Call states in the Android telephony stack represent?

前端 未结 2 1218
广开言路
广开言路 2021-01-02 06:36

The internal Android class com.android.internal.telephony.Call contains an enum called State and defined as follows:

public enum State {
            


        
2条回答
  •  生来不讨喜
    2021-01-02 06:56

    Okay, this is my own attempt at answering the question:

    /** Call is idle. */
    IDLE,
    /** Call is active i.e. audio paths are connected. */
    ACTIVE,
    /** We have placed the call on hold. */
    HOLDING,
    /** Outgoing dialling call initiated. */
    DIALING,
    /** Outgoing call is alerting receiving party. */
    ALERTING,
    /** Incoming call ready for pickup. */ 
    INCOMING,
    /** Incoming call is waiting for pickup, while another call is in progress. */
    WAITING,
    /** Call is disconnected, by either party. */
    DISCONNECTED,
    /** Call is currently being disconnected. */
    DISCONNECTING;
    

提交回复
热议问题