2 * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the License);
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an AS IS BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 namespace Tizen.Telephony
21 /// This class contains the data related to the Notification event.
23 public class ChangeNotificationEventArgs : EventArgs
25 internal ChangeNotificationEventArgs(Notification noti, object data)
27 NotificationType = noti;
28 NotificationData = data;
32 /// Enumeration for the Telephony Notification.
34 public enum Notification
37 /// The notification to be invoked when the SIM card state changes.
38 /// SIM.State will be delivered in the notification data.
40 /// <since_tizen> 3 </since_tizen>
42 /// http://tizen.org/privilege/telephony
46 /// The notification to be invoked when the SIM call forwarding indicator state changes.
47 /// 'state(bool)' will be delivered in the notification data.
49 /// <since_tizen> 3 </since_tizen>
51 /// http://tizen.org/privilege/telephony
53 SimCallForwardingIndicatorState,
55 /// The notification to be invoked when the network service state changes.
56 /// Network.ServiceState will be delivered in the notification data.
58 /// <since_tizen> 3 </since_tizen>
60 /// http://tizen.org/privilege/telephony
62 NetworkServiceState = 0x20,
64 /// The notification to be invoked when the cell ID changes.
65 /// 'cell_id(int)' will be delivered in the notification data.
67 /// <since_tizen> 3 </since_tizen>
69 /// http://tizen.org/privilege/location.coarse
73 /// The notification to be invoked when the roaming status changes.
74 /// 'roaming_status(bool)' will be delivered in the notification data.
76 /// <since_tizen> 3 </since_tizen>
78 /// http://tizen.org/privilege/telephony
82 /// The notification to be invoked when the signal strength changes.
83 /// Network.Rssi will be delivered in the notification data.
85 /// <since_tizen> 3 </since_tizen>
87 /// http://tizen.org/privilege/telephony
89 NetworkSignalstrengthLevel,
91 /// The notification to be invoked when the network name changes.
92 /// 'network_name(string)' will be delivered in the notification data.
94 /// <since_tizen> 3 </since_tizen>
96 /// http://tizen.org/privilege/telephony
100 /// The notification to be invoked when the PS type changes.
101 /// Network.PSType will be delivered in the notification data.
103 /// <since_tizen> 3 </since_tizen>
105 /// http://tizen.org/privilege/telephony
109 /// The notification to be invoked when the default data subscription changes.
110 /// Network.DefaultDataSubscription will be delivered in the notification data.
112 /// <since_tizen> 3 </since_tizen>
114 /// http://tizen.org/privilege/telephony
116 NetworkDefaultDataSubscription,
118 /// The notification to be invoked when the default subscription changes.
119 /// Network.DefaultSubscription will be delivered in the notification data.
121 /// <since_tizen> 3 </since_tizen>
123 /// http://tizen.org/privilege/telephony
125 NetworkDefaultSubscription,
127 /// The notification to be invoked when the LAC (Location Area Code) changes.
128 /// 'lac(int)' will be delivered in the notification data.
130 /// <since_tizen> 3 </since_tizen>
132 /// http://tizen.org/privilege/location.coarse
136 /// The notification to be invoked when the TAC (Tracking Area Code) changes.
137 /// 'tac(int)' will be delivered in the notification data.
139 /// <since_tizen> 3 </since_tizen>
141 /// http://tizen.org/privilege/location.coarse
145 /// The notification to be invoked when the system ID changes.
146 /// 'sid(int)' will be delivered in the notification data.
148 /// <since_tizen> 3 </since_tizen>
150 /// http://tizen.org/privilege/location.coarse
154 /// The notification to be invoked when the network ID changes.
155 /// 'nid(int)' will be delivered in the notification data.
157 /// <since_tizen> 3 </since_tizen>
159 /// http://tizen.org/privilege/location.coarse
163 /// The notification to be invoked when the base station ID changes.
164 /// 'id(int)' will be delivered in the notification data.
166 /// <since_tizen> 3 </since_tizen>
168 /// http://tizen.org/privilege/location.coarse
172 /// The notification to be invoked when the base station latitude changes.
173 /// 'latitude(int)' will be delivered in the notification data.
175 /// <since_tizen> 3 </since_tizen>
177 /// http://tizen.org/privilege/location.coarse
181 /// The notification to be invoked when the base station longitude changes.
182 /// 'longitue(int)' will be delivered in the notification data.
184 /// <since_tizen> 3 </since_tizen>
186 /// http://tizen.org/privilege/location.coarse
190 /// The notification to be invoked when a voice call is in the idle status.
191 /// 'handle id(uint)' will be delivered in the notification data.
193 /// <since_tizen> 3 </since_tizen>
195 /// http://tizen.org/privilege/telephony
199 /// The notification to be invoked when a voice call is in the active status.
200 /// 'handle id(uint)' will be delivered in the notification data.
202 /// <since_tizen> 3 </since_tizen>
204 /// http://tizen.org/privilege/telephony
206 VoiceCallStatusActive,
208 /// The notification to be invoked when a voice call is in the held status.
209 /// 'handle id(uint)' will be delivered in the notification data.
211 /// <since_tizen> 3 </since_tizen>
213 /// http://tizen.org/privilege/telephony
217 /// The notification to be invoked when a voice call is in the dialing status.
218 /// 'handle id(uint)' will be delivered in the notification data.
220 /// <since_tizen> 3 </since_tizen>
222 /// http://tizen.org/privilege/telephony
224 VoiceCallStatusDialing,
226 /// The notification to be invoked when a voice call is in the alerting status.
227 /// 'handle id(uint)' will be delivered in the notification data.
229 /// <since_tizen> 3 </since_tizen>
231 /// http://tizen.org/privilege/telephony
233 VoiceCallStatusAlerting,
235 /// The notification to be invoked when a voice call is in the incoming status.
236 /// 'handle id(uint)' will be delivered in the notification data.
238 /// <since_tizen> 3 </since_tizen>
240 /// http://tizen.org/privilege/telephony
242 VoiceCallStatusIncoming,
244 /// The notification to be invoked when a video call is in the idle status.
245 /// 'handle id(uint)' will be delivered in the notification data.
247 /// <since_tizen> 3 </since_tizen>
249 /// http://tizen.org/privilege/telephony
253 /// The notification to be invoked when a video call is in the active status.
254 /// 'handle id(uint)' will be delivered in the notification data.
256 /// <since_tizen> 3 </since_tizen>
258 /// http://tizen.org/privilege/telephony
260 VideoCallStatusActive,
262 /// The notification to be invoked when a video call is in the dialing status.
263 /// 'handle id(uint)' will be delivered in the notification data.
265 /// <since_tizen> 3 </since_tizen>
267 /// http://tizen.org/privilege/telephony
269 VideoCallStatusDialing,
271 /// The notification to be invoked when a video call is in the alerting status.
272 /// 'handle id(uint)' will be delivered in the notification data.
274 /// <since_tizen> 3 </since_tizen>
276 /// http://tizen.org/privilege/telephony
278 VideoCallStatusAlerting,
280 /// The notification to be invoked when a video call is in the incoming status.
281 /// 'handle id(uint)' will be delivered in the notification data.
283 /// <since_tizen> 3 </since_tizen>
285 /// http://tizen.org/privilege/telephony
287 VideoCallStatusIncoming,
289 /// The notification to be invoked when the preferred voice subscription changes.
290 /// CallPreferredVoiceSubscription will be delivered in the notification data.
292 /// <since_tizen> 3 </since_tizen>
294 /// http://tizen.org/privilege/telephony
296 CallPreferredVoiceSubscription
300 /// The Telephony Notification type.
302 /// <since_tizen> 3 </since_tizen>
303 public Notification NotificationType
310 /// The data as per the Notification type.
312 /// <since_tizen> 3 </since_tizen>
313 public object NotificationData