• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Common Events of the Telephony Subsystem
2This document lists the common system events provided by the telephony subsystem to applications.
3
4
5## COMMON_EVENT_SIM_STATE_CHANGED
6
7Indicates that the SIM card status has changed.
8
9- Value: usual.event.SIM_STATE_CHANGED
10- Required subscriber permissions: none
11
12When the there is a change in the SIM card status of the device, the event notification service is triggered to publish this event.
13
14## COMMON_EVENT_SMS_RECEIVED_COMPLETED
15
16Indicates that an SMS message is received.
17
18- Value: usual.event.SMS_RECEIVED_COMPLETED
19- Required subscriber permissions: ohos.permission.RECEIVE_SMS
20
21When the device receives an SMS message, the event notification service is triggered to publish this event.
22
23## COMMON_EVENT_SMS_EMERGENCY_CB_RECEIVE_COMPLETED
24
25Indicates that an emergency cell broadcast message is received.
26
27- Value: usual.event.SMS_EMERGENCY_CB_RECEIVE_COMPLETED
28- Required subscriber permissions: ohos.permission.RECEIVE_SMS
29
30When the device receives an emergency cell broadcast message, the event notification service is triggered to publish this event.
31
32## COMMON_EVENT_SMS_CB_RECEIVE_COMPLETED
33
34Indicates that a cell broadcast message is received.
35
36- Value: usual.event.SMS_CB_RECEIVE_COMPLETED
37- Required subscriber permissions: ohos.permission.RECEIVE_SMS
38
39When the device receives a cell broadcast message, the event notification service is triggered to publish this event.
40
41## COMMON_EVENT_STK_COMMAND
42
43(Reserved, not supported yet) Indicates that an STK command is sent.
44
45- Value: usual.event.STK_COMMAND
46- Required subscriber permissions: none
47
48When an STK command is sent, the event notification service is triggered to publish this event.
49
50## COMMON_EVENT_STK_SESSION_END
51
52(Reserved event, not supported currently) Indicates that an STK session has ended.
53
54- Value: usual.event.STK_SESSION_END
55- Required subscriber permissions: none
56
57When an STK session ends, the event notification service is triggered to publish this event.
58
59## COMMON_EVENT_STK_CARD_STATE_CHANGED
60
61(Reserved event, not supported currently) Indicates that the STK card status has been updated.
62
63- Value: usual.event.STK_CARD_STATE_CHANGED
64- Required subscriber permissions: none
65
66When the STK card status is updated, the event notification service is triggered to publish this event.
67
68## COMMON_EVENT_STK_ALPHA_IDENTIFIER
69
70(Reserved event, not supported currently) Indicates that an STK Alpha identifier is sent.
71
72- Value: usual.event.STK_ALPHA_IDENTIFIER
73- Required subscriber permissions: none
74
75When an STK Alpha identifier is sent, the event notification service is triggered to publish this event.
76
77## COMMON_EVENT_SMS_WAPPUSH_RECEIVE_COMPLETED
78
79Indicates that a WAP push message is received.
80
81- Value: usual.event.SMS_WAPPUSH_RECEIVE_COMPLETED
82- Required subscriber permissions: ohos.permission.RECEIVE_SMS
83
84When the device receives a WAP push message, the event notification service is triggered to publish this event.
85
86## COMMON_EVENT_OPERATOR_CONFIG_CHANGED
87
88Indicates that the carrier configuration has been updated.
89
90- Value: usual.event.OPERATOR_CONFIG_CHANGED
91- Required subscriber permissions: none
92
93When the carrier configuration of the device is updated, the event notification service is triggered to publish this event.
94
95## COMMON_EVENT_SIM_CARD_DEFAULT_SMS_SUBSCRIPTION_CHANGED
96
97Indicates that the default primary SIM card for the SMS service has been updated.
98
99- Value: usual.event.DEFAULT_SMS_SUBSCRIPTION_CHANGED
100- Required subscriber permissions: none
101
102When the default primary SIM card for the SMS service is updated, the event notification service is triggered to publish this event.
103
104## COMMON_EVENT_SIM_CARD_DEFAULT_DATA_SUBSCRIPTION_CHANGED
105
106Indicates that the default primary SIM card for the data service has been updated.
107
108- Value: usual.event.DEFAULT_DATA_SUBSCRIPTION_CHANGED
109- Required subscriber permissions: none
110
111When the default primary SIM card for the data service is updated, the event notification service is triggered to release the system common event.
112
113## COMMON_EVENT_SIM_CARD_DEFAULT_MAIN_SUBSCRIPTION_CHANGED
114
115Indicates that the default primary SIM card of the device has been updated.
116
117- Value: usual.event.SIM.DEFAULT_MAIN_SUBSCRIPTION_CHANGED
118- Required subscriber permissions: none
119
120When the default primary SIM card of the device is updated, the event notification service is triggered to publish this event.
121
122## COMMON_EVENT_SIM_CARD_DEFAULT_VOICE_SUBSCRIPTION_CHANGED
123
124When the default primary SIM card for the voice service is updated, the event notification service is triggered to publish this event.
125
126- Value: usual.event.DEFAULT_VOICE_SUBSCRIPTION_CHANGED
127- Required subscriber permissions: none
128
129When the default primary SIM card for the voice service is updated, the event notification service is triggered to publish this event.
130
131## COMMON_EVENT_CALL_STATE_CHANGED
132
133Indicates that the call status has been updated.
134
135- Value: usual.event.CALL_STATE_CHANGED
136- Required subscriber permissions: ohos.permission.GET_TELEPHONY_STATE
137
138When the call status of the device is updated, the event notification service is triggered to publish this event.
139
140## COMMON_EVENT_CELLULAR_DATA_STATE_CHANGED
141
142Indicates that the cellular data status has been updated.
143
144- Value: usual.event.CELLULAR_DATA_STATE_CHANGED
145- Required subscriber permissions: none
146
147When the cellular data status of the device is updated, the event notification service is triggered to publish this event.
148
149## COMMON_EVENT_NETWORK_STATE_CHANGED
150
151Indicates that the network status has been updated.
152
153- Value: usual.event.NETWORK_STATE_CHANGED
154- Required subscriber permissions: none
155
156When the network status of the device is updated, the event notification service is triggered to publish this event.
157
158## COMMON_EVENT_SIGNAL_INFO_CHANGED
159
160Indicates that the signal information has been updated.
161
162- Value: usual.event.SIGNAL_INFO_CHANGED
163- Required subscriber permissions: none
164
165When the signal information of the device is updated, the event notification service is triggered to publish this event.
166
167## COMMON_EVENT_INCOMING_CALL_MISSED
168
169Indicates that an incoming call is missed.
170
171- Value: usual.event.INCOMING_CALL_MISSED
172- Required subscriber permissions: ohos.permission.GET_TELEPHONY_STATE
173
174When an incoming call is missed on the device, the event notification service is triggered to publish this event.
175
176## COMMON_EVENT_RADIO_STATE_CHANGE
177
178Indicates that the radio status of the device has changed.
179
180- Value: usual.event.RADIO_STATE_CHANGE
181- Required subscriber permissions: none
182
183When there is a change in the radio status of the device, the event notification service is triggered to publish this event.
184
185## COMMON_EVENT_DIALER_SPECIAL_CODE
186
187Indicates that a secret code is sent successfully.
188
189- Value: usual.event.DIALER_SPECIAL_CODE
190- Required subscriber permissions: none
191
192When a secret code is successfully sent on the device, the event notification service is triggered to publish this event.
193
194## COMMON_EVENT_AUDIO_QUALITY_CHANGE
195
196Indicates that the audio quality has changed.
197
198- Value: usual.event.AUDIO_QUALITY_CHANGE
199- Required subscriber permissions: none
200
201When there is a change in the audio quality of the device, the event notification service is triggered to publish this event.
202