Fixed comment for doxygen.
[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 &lt;LANGUAGE&gt;_&lt;REGION&gt; 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 &lt;LANGUAGE&gt;_&lt;REGION&gt; 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         private readonly int _time;
351         internal TimeChangedEventArgs(int val)
352         {
353             _time = val;
354         }
355
356         /// <summary>
357         /// Indicates the current time
358         /// </summary>
359         public int Value
360         {
361             get
362             {
363                 return _time;
364             }
365         }
366     }
367
368     /// <summary>
369     /// EventArgs type for the event SoundLockChanged
370     /// </summary>
371     public class SoundLockSettingChangedEventArgs : EventArgs
372     {
373         private readonly bool _soundLock;
374         internal SoundLockSettingChangedEventArgs(bool val)
375         {
376             _soundLock = val;
377         }
378
379         /// <summary>
380         ///  Indicates whether the screen lock sound is enabled on the device. ex) LCD on/off sound
381         /// </summary>
382         public bool Value
383         {
384             get
385             {
386                 return _soundLock;
387             }
388         }
389     }
390
391     /// <summary>
392     /// EventArgs type for the event SoundSilentModeChanged
393     /// </summary>
394     public class SoundSilentModeSettingChangedEventArgs : EventArgs
395     {
396         private readonly bool _soundSilentMode;
397         internal SoundSilentModeSettingChangedEventArgs(bool val)
398         {
399             _soundSilentMode = val;
400         }
401
402         /// <summary>
403         /// Indicates whether the device is in the silent mode.
404         /// </summary>
405         public bool Value
406         {
407             get
408             {
409                 return _soundSilentMode;
410             }
411         }
412     }
413
414     /// <summary>
415     /// EventArgs type for the event SoundTouchChanged
416     /// </summary>
417     public class SoundTouchSettingChangedEventArgs : EventArgs
418     {
419         private readonly bool _soundTouch;
420         internal SoundTouchSettingChangedEventArgs(bool val)
421         {
422             _soundTouch = val;
423         }
424
425         /// <summary>
426         /// Indicates whether the screen touch sound is enabled on the device.
427         /// </summary>
428         public bool Value
429         {
430             get
431             {
432                 return _soundTouch;
433             }
434         }
435     }
436
437     /// <summary>
438     /// EventArgs type for the event DisplayScreenRotationAutoChanged
439     /// </summary>
440     public class DisplayScreenRotationAutoSettingChangedEventArgs : EventArgs
441     {
442         private readonly bool _displayScreenRotationAuto;
443         internal DisplayScreenRotationAutoSettingChangedEventArgs(bool val)
444         {
445             _displayScreenRotationAuto = val;
446         }
447
448         /// <summary>
449         /// Indicates whether rotation control is automatic
450         /// </summary>
451         public bool Value
452         {
453             get
454             {
455                 return _displayScreenRotationAuto;
456             }
457         }
458     }
459
460     /// <summary>
461     /// EventArgs type for the event DeviceNameChanged
462     /// </summary>
463     public class DeviceNameChangedEventArgs : EventArgs
464     {
465         private readonly string _deviceName = null;
466         internal DeviceNameChangedEventArgs(string val)
467         {
468             _deviceName = val;
469         }
470
471         /// <summary>
472         /// Indicates device name
473         /// </summary>
474         public string Value
475         {
476             get
477             {
478                 return _deviceName;
479             }
480         }
481     }
482
483     /// <summary>
484     /// EventArgs type for the event MotionSettingChanged
485     /// </summary>
486     public class MotionSettingChangedEventArgs : EventArgs
487     {
488         private readonly bool _motionEnabled;
489         internal MotionSettingChangedEventArgs(bool val)
490         {
491             _motionEnabled = val;
492         }
493
494         /// <summary>
495         /// Indicates whether the device user has enabled motion feature
496         /// </summary>
497         public bool Value
498         {
499             get
500             {
501                 return _motionEnabled;
502             }
503         }
504     }
505
506     /// <summary>
507     /// EventArgs type for the event NetworkWifiNotificationChanged
508     /// </summary>
509     public class NetworkWifiNotificationSettingChangedEventArgs : EventArgs
510     {
511         private readonly bool _networkWifiNotification;
512         internal NetworkWifiNotificationSettingChangedEventArgs(bool val)
513         {
514             _networkWifiNotification = val;
515         }
516
517         /// <summary>
518         /// Indicates whether Wi-Fi-related notifications are enabled on the device
519         /// </summary>
520         public bool Value
521         {
522             get
523             {
524                 return _networkWifiNotification;
525             }
526         }
527     }
528
529     /// <summary>
530     /// EventArgs type for the event NetworkFlightModeChanged
531     /// </summary>
532     public class NetworkFlightModeSettingChangedEventArgs : EventArgs
533     {
534         private readonly bool _networkFlightMode;
535         internal NetworkFlightModeSettingChangedEventArgs(bool val)
536         {
537             _networkFlightMode = val;
538         }
539
540         /// <summary>
541         /// Indicates whether the device is in the flight mode
542         /// </summary>
543         public bool Value
544         {
545             get
546             {
547                 return _networkFlightMode;
548             }
549         }
550     }
551
552     /// <summary>
553     /// EventArgs type for the event ScreenBacklightTimeChanged
554     /// </summary>
555     public class ScreenBacklightTimeChangedEventArgs : EventArgs
556     {
557         private readonly int _screenBacklightTime;
558         internal ScreenBacklightTimeChangedEventArgs(int val)
559         {
560             _screenBacklightTime = val;
561         }
562
563         /// <summary>
564         /// Indicates the backlight time (in seconds)
565         /// </summary>
566         public int Value
567         {
568             get
569             {
570                 return _screenBacklightTime;
571             }
572         }
573     }
574
575     /// <summary>
576     /// EventArgs type for the event SoundNotificationChanged
577     /// </summary>
578     public class SoundNotificationChangedEventArgs : EventArgs
579     {
580         private readonly string _soundNotification = null;
581         internal SoundNotificationChangedEventArgs(string val)
582         {
583             _soundNotification = val;
584         }
585
586         /// <summary>
587         /// Indicates the file path of the current notification tone set by the user
588         /// </summary>
589         public string Value
590         {
591             get
592             {
593                 return _soundNotification;
594             }
595         }
596     }
597
598     /// <summary>
599     /// EventArgs type for the event SoundNotificationRepetitionPeriodChanged
600     /// </summary>
601     public class SoundNotificationRepetitionPeriodChangedEventArgs : EventArgs
602     {
603         private readonly int _soundNotificationRepetitionPeriod;
604         internal SoundNotificationRepetitionPeriodChangedEventArgs(int val)
605         {
606             _soundNotificationRepetitionPeriod = val;
607         }
608
609         /// <summary>
610         /// Indicates the time period for notification repetitions
611         /// </summary>
612         public int Value
613         {
614             get
615             {
616                 return _soundNotificationRepetitionPeriod;
617             }
618         }
619     }
620
621     /// <summary>
622     /// EventArgs type for the event LockStateChanged
623     /// </summary>
624     public class LockStateChangedEventArgs : EventArgs
625     {
626         private readonly SystemSettingsIdleLockState _lockState;
627         internal LockStateChangedEventArgs(SystemSettingsIdleLockState val)
628         {
629             _lockState = val;
630         }
631
632         /// <summary>
633         /// Indicates the current lock state
634         /// </summary>
635         public SystemSettingsIdleLockState Value
636         {
637             get
638             {
639                 return _lockState;
640             }
641         }
642     }
643
644     /// <summary>
645     /// EventArgs type for the event AdsIdChanged
646     /// </summary>
647     public class AdsIdChangedEventArgs : EventArgs
648     {
649         private readonly string _adsId = null;
650         internal AdsIdChangedEventArgs(string val)
651         {
652             _adsId = val;
653         }
654
655         /// <summary>
656         /// Indicates the current lock state
657         /// </summary>
658         public string Value
659         {
660             get
661             {
662                 return _adsId;
663             }
664         }
665     }
666
667     /// <summary>
668     /// EventArgs type for the event UltraDataSaveChanged
669     /// </summary>
670     public class UltraDataSaveChangedEventArgs : EventArgs
671     {
672         private readonly SystemSettingsUdsState _ultraDataSave = SystemSettingsUdsState.UdsOff;
673         internal UltraDataSaveChangedEventArgs(SystemSettingsUdsState val)
674         {
675             _ultraDataSave = val;
676         }
677
678         /// <summary>
679         /// Indicates the current lock state
680         /// </summary>
681         public SystemSettingsUdsState Value
682         {
683             get
684             {
685                 return _ultraDataSave;
686             }
687         }
688     }
689
690     /// <summary>
691     /// EventArgs type for the event UltraDataSavePackageListChanged
692     /// </summary>
693     public class UltraDataSavePackageListChangedEventArgs : EventArgs
694     {
695         private readonly string _ultraDataSavePackageList = null;
696         internal UltraDataSavePackageListChangedEventArgs(string val)
697         {
698             _ultraDataSavePackageList = val;
699         }
700
701         /// <summary>
702         /// Indicates the current lock state
703         /// </summary>
704         public string Value
705         {
706             get
707             {
708                 return _ultraDataSavePackageList;
709             }
710         }
711     }
712 }