Latest Post

Thursday, 23 November 2017

Cordova sim plugin additional return values and descrition


List of Call State Value and Description

ValueConstantDescription
0CALL_STATE_IDLENo activity
1CALL_STATE_RINGINGRinging
2CALL_STATE_OFFHOOKOff-hook

List of Data Activity Value and Description

ValueConstantDescription
0CALL_STATE_IDLENo activity
0DATA_ACTIVITY_NONENo traffic.
1DATA_ACTIVITY_INCurrently receiving IP PPP traffic.
2DATA_ACTIVITY_OUTCurrently sending IP PPP traffic.
3DATA_ACTIVITY_INOUTCurrently both sending and receiving IP PPP traffic.
4DATA_ACTIVITY_DORMANTData connection is active, but physical link is down

List of Network Type Value and Description

ValueConstantDescription
0CALL_STATE_IDLENo activity
0NETWORK_TYPE_UNKNOWNunknown
1NETWORK_TYPE_GPRSGPRS
2NETWORK_TYPE_EDGEEDGE
3NETWORK_TYPE_UMTSUMTS
4NETWORK_TYPE_CDMACDMA: Either IS95A or IS95B
5NETWORK_TYPE_EVDO_0EVDO revision 0
6NETWORK_TYPE_EVDO_AEVDO revision A
7NETWORK_TYPE_1xRTT1xRTT
8NETWORK_TYPE_HSDPAHSDPA
9NETWORK_TYPE_HSUPAHSUPA
10NETWORK_TYPE_HSPAHSPA
12NETWORK_TYPE_EVDO_BEVDO revision B
11NETWORK_TYPE_IDENiDen
13NETWORK_TYPE_LTELTE
14NETWORK_TYPE_EHRPDeHRPD
15NETWORK_TYPE_HSPAPHSPA+
16NETWORK_TYPE_GSMGSM
17NETWORK_TYPE_TD_SCDMATD-SCDMA
18NETWORK_TYPE_IWLANIWLAN

List of Phone Type Value and Description

ValueConstantDescription
0PHONE_TYPE_NONEnone
1PHONE_TYPE_GSMGSM
2PHONE_TYPE_CDMACDMA
3PHONE_TYPE_SIPSIP

List of SIM State Value and Description

ValueConstantDescription
0CALL_STATE_IDLENo activity
0SIM_STATE_UNKNOWNUnknown
1SIM_STATE_ABSENTNo SIM card is available in the device
2SIM_STATE_PIN_REQUIREDLocked
3SIM_STATE_PUK_REQUIREDLocked
4SIM_STATE_NETWORK_LOCKEDLocked
5SIM_STATE_READYReady

Government Jobs