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 /// <since_tizen> 3 </since_tizen>
24 public class ChangeNotificationEventArgs : EventArgs
26 internal ChangeNotificationEventArgs(Notification noti, object data)
28 NotificationType = noti;
29 NotificationData = data;
33 /// Enumeration for the Telephony Notification.
35 /// <since_tizen> 3 </since_tizen>
36 public enum Notification
39 /// The notification to be invoked when the SIM card state changes.
40 /// SIM.State will be delivered in the notification data.
42 /// <since_tizen> 3 </since_tizen>
44 /// http://tizen.org/privilege/telephony
48 /// The notification to be invoked when the SIM call forwarding indicator state changes.
49 /// 'state(bool)' will be delivered in the notification data.
51 /// <since_tizen> 3 </since_tizen>
53 /// http://tizen.org/privilege/telephony
55 SimCallForwardingIndicatorState,
57 /// The notification to be invoked when the network service state changes.
58 /// Network.ServiceState will be delivered in the notification data.
60 /// <since_tizen> 3 </since_tizen>
62 /// http://tizen.org/privilege/telephony
64 NetworkServiceState = 0x20,
66 /// The notification to be invoked when the cell ID changes.
67 /// 'cell_id(int)' will be delivered in the notification data.
69 /// <since_tizen> 3 </since_tizen>
71 /// http://tizen.org/privilege/location.coarse
75 /// The notification to be invoked when the roaming status changes.
76 /// 'roaming_status(bool)' will be delivered in the notification data.
78 /// <since_tizen> 3 </since_tizen>
80 /// http://tizen.org/privilege/telephony
84 /// The notification to be invoked when the signal strength changes.
85 /// Network.Rssi will be delivered in the notification data.
87 /// <since_tizen> 3 </since_tizen>
89 /// http://tizen.org/privilege/telephony
91 NetworkSignalstrengthLevel,
93 /// The notification to be invoked when the network name changes.
94 /// 'network_name(string)' will be delivered in the notification data.
96 /// <since_tizen> 3 </since_tizen>
98 /// http://tizen.org/privilege/telephony
102 /// The notification to be invoked when the PS type changes.
103 /// Network.PSType will be delivered in the notification data.
105 /// <since_tizen> 3 </since_tizen>
107 /// http://tizen.org/privilege/telephony
111 /// The notification to be invoked when the default data subscription changes.
112 /// Network.DefaultDataSubscription will be delivered in the notification data.
114 /// <since_tizen> 3 </since_tizen>
116 /// http://tizen.org/privilege/telephony
118 NetworkDefaultDataSubscription,
120 /// The notification to be invoked when the default subscription changes.
121 /// Network.DefaultSubscription will be delivered in the notification data.
123 /// <since_tizen> 3 </since_tizen>
125 /// http://tizen.org/privilege/telephony
127 NetworkDefaultSubscription,
129 /// The notification to be invoked when the LAC (Location Area Code) changes.
130 /// 'lac(int)' will be delivered in the notification data.
132 /// <since_tizen> 3 </since_tizen>
134 /// http://tizen.org/privilege/location.coarse
138 /// The notification to be invoked when the TAC (Tracking Area Code) changes.
139 /// 'tac(int)' will be delivered in the notification data.
141 /// <since_tizen> 3 </since_tizen>
143 /// http://tizen.org/privilege/location.coarse
147 /// The notification to be invoked when the system ID changes.
148 /// 'sid(int)' will be delivered in the notification data.
150 /// <since_tizen> 3 </since_tizen>
152 /// http://tizen.org/privilege/location.coarse
156 /// The notification to be invoked when the network ID changes.
157 /// 'nid(int)' will be delivered in the notification data.
159 /// <since_tizen> 3 </since_tizen>
161 /// http://tizen.org/privilege/location.coarse
165 /// The notification to be invoked when the base station ID changes.
166 /// 'id(int)' will be delivered in the notification data.
168 /// <since_tizen> 3 </since_tizen>
170 /// http://tizen.org/privilege/location.coarse
174 /// The notification to be invoked when the base station latitude changes.
175 /// 'latitude(int)' will be delivered in the notification data.
177 /// <since_tizen> 3 </since_tizen>
179 /// http://tizen.org/privilege/location.coarse
183 /// The notification to be invoked when the base station longitude changes.
184 /// 'longitue(int)' will be delivered in the notification data.
186 /// <since_tizen> 3 </since_tizen>
188 /// http://tizen.org/privilege/location.coarse
192 /// The notification to be invoked when a voice call is in the idle status.
193 /// 'handle id(uint)' will be delivered in the notification data.
195 /// <since_tizen> 3 </since_tizen>
197 /// http://tizen.org/privilege/telephony
199 VoiceCallStatusIdle = 0x32,
201 /// The notification to be invoked when a voice call is in the active status.
202 /// 'handle id(uint)' will be delivered in the notification data.
204 /// <since_tizen> 3 </since_tizen>
206 /// http://tizen.org/privilege/telephony
208 VoiceCallStatusActive,
210 /// The notification to be invoked when a voice call is in the held status.
211 /// 'handle id(uint)' will be delivered in the notification data.
213 /// <since_tizen> 3 </since_tizen>
215 /// http://tizen.org/privilege/telephony
219 /// The notification to be invoked when a voice call is in the dialing status.
220 /// 'handle id(uint)' will be delivered in the notification data.
222 /// <since_tizen> 3 </since_tizen>
224 /// http://tizen.org/privilege/telephony
226 VoiceCallStatusDialing,
228 /// The notification to be invoked when a voice call is in the alerting status.
229 /// 'handle id(uint)' will be delivered in the notification data.
231 /// <since_tizen> 3 </since_tizen>
233 /// http://tizen.org/privilege/telephony
235 VoiceCallStatusAlerting,
237 /// The notification to be invoked when a voice call is in the incoming status.
238 /// 'handle id(uint)' will be delivered in the notification data.
240 /// <since_tizen> 3 </since_tizen>
242 /// http://tizen.org/privilege/telephony
244 VoiceCallStatusIncoming,
246 /// The notification to be invoked when a video call is in the idle status.
247 /// 'handle id(uint)' will be delivered in the notification data.
249 /// <since_tizen> 3 </since_tizen>
251 /// http://tizen.org/privilege/telephony
255 /// The notification to be invoked when a video call is in the active status.
256 /// 'handle id(uint)' will be delivered in the notification data.
258 /// <since_tizen> 3 </since_tizen>
260 /// http://tizen.org/privilege/telephony
262 VideoCallStatusActive,
264 /// The notification to be invoked when a video call is in the dialing status.
265 /// 'handle id(uint)' will be delivered in the notification data.
267 /// <since_tizen> 3 </since_tizen>
269 /// http://tizen.org/privilege/telephony
271 VideoCallStatusDialing,
273 /// The notification to be invoked when a video call is in the alerting status.
274 /// 'handle id(uint)' will be delivered in the notification data.
276 /// <since_tizen> 3 </since_tizen>
278 /// http://tizen.org/privilege/telephony
280 VideoCallStatusAlerting,
282 /// The notification to be invoked when a video call is in the incoming status.
283 /// 'handle id(uint)' will be delivered in the notification data.
285 /// <since_tizen> 3 </since_tizen>
287 /// http://tizen.org/privilege/telephony
289 VideoCallStatusIncoming,
291 /// The notification to be invoked when the preferred voice subscription changes.
292 /// CallPreferredVoiceSubscription will be delivered in the notification data.
294 /// <since_tizen> 3 </since_tizen>
296 /// http://tizen.org/privilege/telephony
298 CallPreferredVoiceSubscription
302 /// The Telephony Notification type.
304 /// <since_tizen> 3 </since_tizen>
305 public Notification NotificationType
312 /// The data as per the Notification type.
314 /// <since_tizen> 3 </since_tizen>
315 public object NotificationData