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

前端 未结 2 1315
广开言路
广开言路 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:59

    3GPP TS 27.007 version 13.5.0 Release 13
    
    List current calls +CLCC
    
    Command 
    +CLCC
    
    Possible response(s)
    [+CLCC: ,,,,[,
    ,[,[,[,]]]]
    [+CLCC: ,,,,[,
    ,[,[,[,
    ]]]]
    [...]]]
    +CME ERROR: 
    
    : integer type (state of the call)
    0 active
    1 held
    2 dialing (MO call)
    3 alerting (MO call)
    4 incoming (MT call)
    5 waiting (MT call) 
    
    My interpretation:
    
    0 active: call in progress (setup was successful)
    1 held: call on hold
    2 dialing (MO call): number dialed
    3 alerting (MO call): number dialed and the called party is alerted
    4 incoming (MT call): incoming call, ringtone played (AT RING notification)
    5 waiting (MT call): call waiting notification while another call is active (if call waiting feature enabled)
    

提交回复
热议问题