Added ADS_ID, Ultra Data Save API for C#
[platform/core/csapi/system-settings.git] / Tizen.System.SystemSettings / Tizen.System.SystemSettings / SystemSettingsEventArgs.cs
1 /*
2  * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
3  *
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
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
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.
15  */
16
17 using System;
18
19 namespace Tizen.System
20 {
21     /// <summary>
22     /// EventArgs type for the event IncomingCallRingtoneChanged
23     /// </summary>
24     public class IncomingCallRingtoneChangedEventArgs : EventArgs
25     {
26         private readonly string _incomingCallRingtone = null;
27         internal IncomingCallRingtoneChangedEventArgs(string val)
28         {
29             _incomingCallRingtone = val;
30         }
31
32         /// <summary>
33         /// The file path of the current ringtone
34         /// </summary>
35         public string Value
36         {
37             get
38             {
39                 return _incomingCallRingtone;
40             }
41         }
42     }
43
44     /// <summary>
45     /// EventArgs type for the event WallpaperHomeScreenChanged
46     /// </summary>
47     public class WallpaperHomeScreenChangedEventArgs : EventArgs
48     {
49         private readonly string _wallpaperHomeScreen = null;
50         internal WallpaperHomeScreenChangedEventArgs(string val)
51         {
52             _wallpaperHomeScreen = val;
53         }
54
55         /// <summary>
56         /// The file path of the current home screen wallpaper
57         /// </summary>
58         public string Value
59         {
60             get
61             {
62                 return _wallpaperHomeScreen;
63             }
64         }
65     }
66
67     /// <summary>
68     /// EventArgs type for the event WallpaperLockScreenChanged
69     /// </summary>
70     public class WallpaperLockScreenChangedEventArgs : EventArgs
71     {
72         private readonly string _wallpaperLockScreen = null;
73         internal WallpaperLockScreenChangedEventArgs(string val)
74         {
75             _wallpaperLockScreen = val;
76         }
77
78         /// <summary>
79         /// The file path of the current lock screen wallpaper
80         /// </summary>
81         public string Value
82         {
83             get
84             {
85                 return _wallpaperLockScreen;
86             }
87         }
88     }
89
90     /// <summary>
91     /// EventArgs type for the event FontSizeChanged
92     /// </summary>
93     public class FontSizeChangedEventArgs : EventArgs
94     {
95         private readonly SystemSettingsFontSize _fontSize;
96         internal FontSizeChangedEventArgs(SystemSettingsFontSize val)
97         {
98             _fontSize = val;
99         }
100
101         /// <summary>
102         /// The current system font size
103         /// </summary>
104         public SystemSettingsFontSize Value
105         {
106             get
107             {
108                 return _fontSize;
109             }
110         }
111     }
112
113     /// <summary>
114     /// EventArgs type for the event FontTypeChanged
115     /// </summary>
116     public class FontTypeChangedEventArgs : EventArgs
117     {
118         private readonly string _fontType = null;
119         internal FontTypeChangedEventArgs(string val)
120         {
121             _fontType = val;
122         }
123
124         /// <summary>
125         /// The current system font type
126         /// </summary>
127         public string Value
128         {
129             get
130             {
131                 return _fontType;
132             }
133         }
134     }
135
136     /// <summary>
137     /// EventArgs type for the event MotionActivationChanged
138     /// </summary>
139     public class MotionActivationSettingChangedEventArgs : EventArgs
140     {
141         private readonly bool _motionActivation;
142         internal MotionActivationSettingChangedEventArgs(bool val)
143         {
144             _motionActivation = val;
145         }
146
147         /// <summary>
148         /// Indicates whether the motion service is activated
149         /// </summary>
150         public bool Value
151         {
152             get
153             {
154                 return _motionActivation;
155             }
156         }
157     }
158
159     /// <summary>
160     /// EventArgs type for the event EmailAlertRingtoneChanged
161     /// </summary>
162     public class EmailAlertRingtoneChangedEventArgs : EventArgs
163     {
164         private readonly string _emailAlertRingtone = null;
165         internal EmailAlertRingtoneChangedEventArgs(string val)
166         {
167             _emailAlertRingtone = val;
168         }
169
170         /// <summary>
171         /// The file path of the current email alert ringtone
172         /// </summary>
173         public string Value
174         {
175             get
176             {
177                 return _emailAlertRingtone;
178             }
179         }
180     }
181
182     /// <summary>
183     /// EventArgs type for the event UsbDebuggingSettingChanged
184     /// </summary>
185     public class UsbDebuggingSettingChangedEventArgs : EventArgs
186     {
187         private readonly bool _usbDebuggingEnabled;
188         internal UsbDebuggingSettingChangedEventArgs(bool val)
189         {
190             _usbDebuggingEnabled = val;
191         }
192
193         /// <summary>
194         /// Indicates whether the USB debugging is enabled
195         /// </summary>
196         public bool Value
197         {
198             get
199             {
200                 return _usbDebuggingEnabled;
201             }
202         }
203     }
204
205     /// <summary>
206     /// EventArgs type for the event Data3GNetworkSettingChanged
207     /// </summary>
208     public class Data3GNetworkSettingChangedEventArgs : EventArgs
209     {
210         private readonly bool _data3GNetworkEnabled;
211         internal Data3GNetworkSettingChangedEventArgs(bool val)
212         {
213             _data3GNetworkEnabled = val;
214         }
215
216         /// <summary>
217         /// Indicates whether the 3G data network is enabled
218         /// </summary>
219         public bool Value
220         {
221             get
222             {
223                 return _data3GNetworkEnabled;
224             }
225         }
226     }
227
228     /// <summary>
229     /// EventArgs type for the event LockscreenAppChanged
230     /// </summary>
231     public class LockscreenAppChangedEventArgs : EventArgs
232     {
233         private readonly string _lockscreenApp = null;
234         internal LockscreenAppChangedEventArgs(string val)
235         {
236             _lockscreenApp = val;
237         }
238
239         /// <summary>
240         /// Indicates lockscreen app pkg name
241         /// </summary>
242         public string Value
243         {
244             get
245             {
246                 return _lockscreenApp;
247             }
248         }
249     }
250
251     /// <summary>
252     /// EventArgs type for the event LocaleCountryChanged
253     /// </summary>
254     public class LocaleCountryChangedEventArgs : EventArgs
255     {
256         private readonly string _localeCountry = null;
257         internal LocaleCountryChangedEventArgs(string val)
258         {
259             _localeCountry = val;
260         }
261
262         /// <summary>
263         /// Indicates the current country setting in the \<LANGUAGE\>_\<REGION\> syntax.
264         /// The country setting is in the ISO 639-2 format, and the region setting is in the ISO 3166-1 alpha-2 format
265         /// </summary>
266         public string Value
267         {
268             get
269             {
270                 return _localeCountry;
271             }
272         }
273     }
274
275     /// <summary>
276     /// EventArgs type for the event LocaleLanguageChanged
277     /// </summary>
278     public class LocaleLanguageChangedEventArgs : EventArgs
279     {
280         private readonly string _localeLanguage = null;
281         internal LocaleLanguageChangedEventArgs(string val)
282         {
283             _localeLanguage = val;
284         }
285
286         /// <summary>
287         /// Indicates the current language setting in the \<LANGUAGE\>_\<REGION\> syntax.
288         /// The language setting is in the ISO 639-2 format and the region setting is in the ISO 3166-1 alpha-2 format
289         /// </summary>
290         public string Value
291         {
292             get
293             {
294                 return _localeLanguage;
295             }
296         }
297     }
298
299     /// <summary>
300     /// EventArgs type for the event LocaleTimeFormat24HourChanged
301     /// </summary>
302     public class LocaleTimeFormat24HourSettingChangedEventArgs : EventArgs
303     {
304         private readonly bool _localeTimeFormat24Hour;
305         internal LocaleTimeFormat24HourSettingChangedEventArgs(bool val)
306         {
307             _localeTimeFormat24Hour = val;
308         }
309
310         /// <summary>
311         /// Indicates whether the 24-hour clock is used. If the value is false, the 12-hour clock is used.
312         /// </summary>
313         public bool Value
314         {
315             get
316             {
317                 return _localeTimeFormat24Hour;
318             }
319         }
320     }
321
322     /// <summary>
323     /// EventArgs type for the event LocaleTimeZoneChanged
324     /// </summary>
325     public class LocaleTimeZoneChangedEventArgs : EventArgs
326     {
327         private readonly string _localeTimeZone = null;
328         internal LocaleTimeZoneChangedEventArgs(string val)
329         {
330             _localeTimeZone = val;
331         }
332
333         /// <summary>
334         /// Indicates the current time zone
335         /// </summary>
336         public string Value
337         {
338             get
339             {
340                 return _localeTimeZone;
341             }
342         }
343     }
344
345     /// <summary>
346     /// EventArgs type for the event TimeChanged
347     /// </summary>
348     public class TimeChangedEventArgs : EventArgs
349     {
350         internal TimeChangedEventArgs()
351         {
352         }
353     }
354
355     /// <summary>
356     /// EventArgs type for the event SoundLockChanged
357     /// </summary>
358     public class SoundLockSettingChangedEventArgs : EventArgs
359     {
360         private readonly bool _soundLock;
361         internal SoundLockSettingChangedEventArgs(bool val)
362         {
363             _soundLock = val;
364         }
365
366         /// <summary>
367         ///  Indicates whether the screen lock sound is enabled on the device. ex) LCD on/off sound
368         /// </summary>
369         public bool Value
370         {
371             get
372             {
373                 return _soundLock;
374             }
375         }
376     }
377
378     /// <summary>
379     /// EventArgs type for the event SoundSilentModeChanged
380     /// </summary>
381     public class SoundSilentModeSettingChangedEventArgs : EventArgs
382     {
383         private readonly bool _soundSilentMode;
384         internal SoundSilentModeSettingChangedEventArgs(bool val)
385         {
386             _soundSilentMode = val;
387         }
388
389         /// <summary>
390         /// Indicates whether the device is in the silent mode.
391         /// </summary>
392         public bool Value
393         {
394             get
395             {
396                 return _soundSilentMode;
397             }
398         }
399     }
400
401     /// <summary>
402     /// EventArgs type for the event SoundTouchChanged
403     /// </summary>
404     public class SoundTouchSettingChangedEventArgs : EventArgs
405     {
406         private readonly bool _soundTouch;
407         internal SoundTouchSettingChangedEventArgs(bool val)
408         {
409             _soundTouch = val;
410         }
411
412         /// <summary>
413         /// Indicates whether the screen touch sound is enabled on the device.
414         /// </summary>
415         public bool Value
416         {
417             get
418             {
419                 return _soundTouch;
420             }
421         }
422     }
423
424     /// <summary>
425     /// EventArgs type for the event DisplayScreenRotationAutoChanged
426     /// </summary>
427     public class DisplayScreenRotationAutoSettingChangedEventArgs : EventArgs
428     {
429         private readonly bool _displayScreenRotationAuto;
430         internal DisplayScreenRotationAutoSettingChangedEventArgs(bool val)
431         {
432             _displayScreenRotationAuto = val;
433         }
434
435         /// <summary>
436         /// Indicates whether rotation control is automatic
437         /// </summary>
438         public bool Value
439         {
440             get
441             {
442                 return _displayScreenRotationAuto;
443             }
444         }
445     }
446
447     /// <summary>
448     /// EventArgs type for the event DeviceNameChanged
449     /// </summary>
450     public class DeviceNameChangedEventArgs : EventArgs
451     {
452         private readonly string _deviceName = null;
453         internal DeviceNameChangedEventArgs(string val)
454         {
455             _deviceName = val;
456         }
457
458         /// <summary>
459         /// Indicates device name
460         /// </summary>
461         public string Value
462         {
463             get
464             {
465                 return _deviceName;
466             }
467         }
468     }
469
470     /// <summary>
471     /// EventArgs type for the event MotionSettingChanged
472     /// </summary>
473     public class MotionSettingChangedEventArgs : EventArgs
474     {
475         private readonly bool _motionEnabled;
476         internal MotionSettingChangedEventArgs(bool val)
477         {
478             _motionEnabled = val;
479         }
480
481         /// <summary>
482         /// Indicates whether the device user has enabled motion feature
483         /// </summary>
484         public bool Value
485         {
486             get
487             {
488                 return _motionEnabled;
489             }
490         }
491     }
492
493     /// <summary>
494     /// EventArgs type for the event NetworkWifiNotificationChanged
495     /// </summary>
496     public class NetworkWifiNotificationSettingChangedEventArgs : EventArgs
497     {
498         private readonly bool _networkWifiNotification;
499         internal NetworkWifiNotificationSettingChangedEventArgs(bool val)
500         {
501             _networkWifiNotification = val;
502         }
503
504         /// <summary>
505         /// Indicates whether Wi-Fi-related notifications are enabled on the device
506         /// </summary>
507         public bool Value
508         {
509             get
510             {
511                 return _networkWifiNotification;
512             }
513         }
514     }
515
516     /// <summary>
517     /// EventArgs type for the event NetworkFlightModeChanged
518     /// </summary>
519     public class NetworkFlightModeSettingChangedEventArgs : EventArgs
520     {
521         private readonly bool _networkFlightMode;
522         internal NetworkFlightModeSettingChangedEventArgs(bool val)
523         {
524             _networkFlightMode = val;
525         }
526
527         /// <summary>
528         /// Indicates whether the device is in the flight mode
529         /// </summary>
530         public bool Value
531         {
532             get
533             {
534                 return _networkFlightMode;
535             }
536         }
537     }
538
539     /// <summary>
540     /// EventArgs type for the event ScreenBacklightTimeChanged
541     /// </summary>
542     public class ScreenBacklightTimeChangedEventArgs : EventArgs
543     {
544         private readonly int _screenBacklightTime;
545         internal ScreenBacklightTimeChangedEventArgs(int val)
546         {
547             _screenBacklightTime = val;
548         }
549
550         /// <summary>
551         /// Indicates the backlight time (in seconds)
552         /// </summary>
553         public int Value
554         {
555             get
556             {
557                 return _screenBacklightTime;
558             }
559         }
560     }
561
562     /// <summary>
563     /// EventArgs type for the event SoundNotificationChanged
564     /// </summary>
565     public class SoundNotificationChangedEventArgs : EventArgs
566     {
567         private readonly string _soundNotification = null;
568         internal SoundNotificationChangedEventArgs(string val)
569         {
570             _soundNotification = val;
571         }
572
573         /// <summary>
574         /// Indicates the file path of the current notification tone set by the user
575         /// </summary>
576         public string Value
577         {
578             get
579             {
580                 return _soundNotification;
581             }
582         }
583     }
584
585     /// <summary>
586     /// EventArgs type for the event SoundNotificationRepetitionPeriodChanged
587     /// </summary>
588     public class SoundNotificationRepetitionPeriodChangedEventArgs : EventArgs
589     {
590         private readonly int _soundNotificationRepetitionPeriod;
591         internal SoundNotificationRepetitionPeriodChangedEventArgs(int val)
592         {
593             _soundNotificationRepetitionPeriod = val;
594         }
595
596         /// <summary>
597         /// Indicates the time period for notification repetitions
598         /// </summary>
599         public int Value
600         {
601             get
602             {
603                 return _soundNotificationRepetitionPeriod;
604             }
605         }
606     }
607
608     /// <summary>
609     /// EventArgs type for the event LockStateChanged
610     /// </summary>
611     public class LockStateChangedEventArgs : EventArgs
612     {
613         private readonly SystemSettingsIdleLockState _lockState;
614         internal LockStateChangedEventArgs(SystemSettingsIdleLockState val)
615         {
616             _lockState = val;
617         }
618
619         /// <summary>
620         /// Indicates the current lock state
621         /// </summary>
622         public SystemSettingsIdleLockState Value
623         {
624             get
625             {
626                 return _lockState;
627             }
628         }
629     }
630
631     /// <summary>
632     /// EventArgs type for the event AdsIdChanged
633     /// </summary>
634     public class AdsIdChangedEventArgs : EventArgs
635     {
636         private readonly string _adsId = null;
637         internal AdsIdChangedEventArgs(string val)
638         {
639             _adsId = val;
640         }
641
642         /// <summary>
643         /// Indicates the current lock state
644         /// </summary>
645         public string Value
646         {
647             get
648             {
649                 return _adsId;
650             }
651         }
652     }
653
654     /// <summary>
655     /// EventArgs type for the event UltraDataSaveChanged
656     /// </summary>
657     public class UltraDataSaveChangedEventArgs : EventArgs
658     {
659         private readonly SystemSettingsUdsState _ultraDataSave = SystemSettingsUdsState.UdsOff;
660         internal UltraDataSaveChangedEventArgs(SystemSettingsUdsState val)
661         {
662             _ultraDataSave = val;
663         }
664
665         /// <summary>
666         /// Indicates the current lock state
667         /// </summary>
668         public SystemSettingsUdsState Value
669         {
670             get
671             {
672                 return _ultraDataSave;
673             }
674         }
675     }
676
677     /// <summary>
678     /// EventArgs type for the event UltraDataSavePackageListChanged
679     /// </summary>
680     public class UltraDataSavePackageListChangedEventArgs : EventArgs
681     {
682         private readonly string _ultraDataSavePackageList = null;
683         internal UltraDataSavePackageListChangedEventArgs(string val)
684         {
685             _ultraDataSavePackageList = val;
686         }
687
688         /// <summary>
689         /// Indicates the current lock state
690         /// </summary>
691         public string Value
692         {
693             get
694             {
695                 return _ultraDataSavePackageList;
696             }
697         }
698     }
699 }