[system-settings] Fixed doxygen warnings
[platform/core/csapi/system.git] / Tizen.System / SystemSettings / SystemSettingsEventArgs.cs
1 using System;
2
3 namespace Tizen.System
4 {
5     /// <summary>
6     /// EventArgs type for the event IncomingCallRingtoneChanged
7     /// </summary>
8     public class IncomingCallRingtoneChangedEventArgs : EventArgs
9     {
10         private readonly string _incomingCallRingtone = null;
11         /// <summary>
12         /// The enum for IncomingCallRingtone system setting key
13         /// </summary>
14         public SystemSettingsKeys Key
15         {
16             get
17             {
18                 return SystemSettingsKeys.IncomingCallRingtone;
19             }
20         }
21
22         internal IncomingCallRingtoneChangedEventArgs(string val)
23         {
24             _incomingCallRingtone = val;
25         }
26
27         /// <summary>
28         /// The file path of the current ringtone
29         /// </summary>
30         public string Value
31         {
32             get
33             {
34                 return _incomingCallRingtone;
35             }
36         }
37     }
38
39     /// <summary>
40     /// EventArgs type for the event WallpaperHomeScreenChanged
41     /// </summary>
42     public class WallpaperHomeScreenChangedEventArgs : EventArgs
43     {
44         private readonly string _wallpaperHomeScreen = null;
45         /// <summary>
46         /// The enum for WallpaperHomeScreen system setting key
47         /// </summary>
48         public SystemSettingsKeys Key
49         {
50             get
51             {
52                 return SystemSettingsKeys.WallpaperHomeScreen;
53             }
54         }
55
56         internal WallpaperHomeScreenChangedEventArgs(string val)
57         {
58             _wallpaperHomeScreen = val;
59         }
60
61         /// <summary>
62         /// The file path of the current home screen wallpaper
63         /// </summary>
64         public string Value
65         {
66             get
67             {
68                 return _wallpaperHomeScreen;
69             }
70         }
71     }
72
73     /// <summary>
74     /// EventArgs type for the event WallpaperLockScreenChanged
75     /// </summary>
76     public class WallpaperLockScreenChangedEventArgs : EventArgs
77     {
78         private readonly string _wallpaperLockScreen = null;
79         /// <summary>
80         /// The enum for WallpaperLockScreen system setting key
81         /// </summary>
82         public SystemSettingsKeys Key
83         {
84             get
85             {
86                 return SystemSettingsKeys.WallpaperLockScreen;
87             }
88         }
89
90         internal WallpaperLockScreenChangedEventArgs(string val)
91         {
92             _wallpaperLockScreen = val;
93         }
94
95         /// <summary>
96         /// The file path of the current lock screen wallpaper
97         /// </summary>
98         public string Value
99         {
100             get
101             {
102                 return _wallpaperLockScreen;
103             }
104         }
105     }
106
107     /// <summary>
108     /// EventArgs type for the event FontSizeChanged
109     /// </summary>
110     public class FontSizeChangedEventArgs : EventArgs
111     {
112         private readonly SystemSettingsFontSize _fontSize;
113         /// <summary>
114         /// The enum for FontSize system setting key
115         /// </summary>
116         public SystemSettingsKeys Key
117         {
118             get
119             {
120                 return SystemSettingsKeys.FontSize;
121             }
122         }
123         internal FontSizeChangedEventArgs(SystemSettingsFontSize val)
124         {
125             _fontSize = val;
126         }
127
128         /// <summary>
129         /// The current system font size
130         /// </summary>
131         public SystemSettingsFontSize Value
132         {
133             get
134             {
135                 return _fontSize;
136             }
137         }
138     }
139
140     /// <summary>
141     /// EventArgs type for the event FontTypeChanged
142     /// </summary>
143     public class FontTypeChangedEventArgs : EventArgs
144     {
145         private readonly string _fontType = null;
146         /// <summary>
147         /// The enum for FontType system setting key
148         /// </summary>
149         public SystemSettingsKeys Key
150         {
151             get
152             {
153                 return SystemSettingsKeys.FontType;
154             }
155         }
156         internal FontTypeChangedEventArgs(string val)
157         {
158             _fontType = val;
159         }
160
161         /// <summary>
162         /// The current system font type
163         /// </summary>
164         public string Value
165         {
166             get
167             {
168                 return _fontType;
169             }
170         }
171     }
172
173     /// <summary>
174     /// EventArgs type for the event MotionActivationChanged
175     /// </summary>
176     public class MotionActivationSettingChangedEventArgs : EventArgs
177     {
178         private readonly bool _motionActivation;
179         /// <summary>
180         /// The enum for MotionActivation system setting key
181         /// </summary>
182         public SystemSettingsKeys Key
183         {
184             get
185             {
186                 return SystemSettingsKeys.MotionActivationEnabled;
187             }
188         }
189         internal MotionActivationSettingChangedEventArgs(bool val)
190         {
191             _motionActivation = val;
192         }
193
194         /// <summary>
195         /// Indicates whether the motion service is activated
196         /// </summary>
197         public bool Value
198         {
199             get
200             {
201                 return _motionActivation;
202             }
203         }
204     }
205
206     /// <summary>
207     /// EventArgs type for the event EmailAlertRingtoneChanged
208     /// </summary>
209     public class EmailAlertRingtoneChangedEventArgs : EventArgs
210     {
211         private readonly string _emailAlertRingtone = null;
212         /// <summary>
213         /// The enum for EmailAlertRingtone system setting key
214         /// </summary>
215         public SystemSettingsKeys Key
216         {
217             get
218             {
219                 return SystemSettingsKeys.EmailAlertRingtone;
220             }
221         }
222         internal EmailAlertRingtoneChangedEventArgs(string val)
223         {
224             _emailAlertRingtone = val;
225         }
226
227         /// <summary>
228         /// The file path of the current email alert ringtone
229         /// </summary>
230         public string Value
231         {
232             get
233             {
234                 return _emailAlertRingtone;
235             }
236         }
237     }
238
239     /// <summary>
240     /// EventArgs type for the event UsbDebuggingSettingChanged
241     /// </summary>
242     public class UsbDebuggingSettingChangedEventArgs : EventArgs
243     {
244         private readonly bool _usbDebuggingEnabled;
245         /// <summary>
246         /// The enum for UsbDebuggingEnabled system setting key
247         /// </summary>
248         public SystemSettingsKeys Key
249         {
250             get
251             {
252                 return SystemSettingsKeys.UsbDebuggingEnabled;
253             }
254         }
255         internal UsbDebuggingSettingChangedEventArgs(bool val)
256         {
257             _usbDebuggingEnabled = val;
258         }
259
260         /// <summary>
261         /// Indicates whether the USB debugging is enabled
262         /// </summary>
263         public bool Value
264         {
265             get
266             {
267                 return _usbDebuggingEnabled;
268             }
269         }
270     }
271
272     /// <summary>
273     /// EventArgs type for the event Data3GNetworkSettingChanged
274     /// </summary>
275     public class Data3GNetworkSettingChangedEventArgs : EventArgs
276     {
277         private readonly bool _data3GNetworkEnabled;
278         /// <summary>
279         /// The enum for Data3GNetworkEnabled system setting key
280         /// </summary>
281         public SystemSettingsKeys Key
282         {
283             get
284             {
285                 return SystemSettingsKeys.Data3GNetworkEnabled;
286             }
287         }
288         internal Data3GNetworkSettingChangedEventArgs(bool val)
289         {
290             _data3GNetworkEnabled = val;
291         }
292
293         /// <summary>
294         /// Indicates whether the 3G data network is enabled
295         /// </summary>
296         public bool Value
297         {
298             get
299             {
300                 return _data3GNetworkEnabled;
301             }
302         }
303     }
304
305     /// <summary>
306     /// EventArgs type for the event LockscreenAppChanged
307     /// </summary>
308     public class LockscreenAppChangedEventArgs : EventArgs
309     {
310         private readonly string _lockscreenApp = null;
311         /// <summary>
312         /// The enum for LockscreenApp system setting key
313         /// </summary>
314         public SystemSettingsKeys Key
315         {
316             get
317             {
318                 return SystemSettingsKeys.LockscreenApp;
319             }
320         }
321         internal LockscreenAppChangedEventArgs(string val)
322         {
323             _lockscreenApp = val;
324         }
325
326         /// <summary>
327         /// Indicates lockscreen app pkg name
328         /// </summary>
329         public string Value
330         {
331             get
332             {
333                 return _lockscreenApp;
334             }
335         }
336     }
337
338     /// <summary>
339     /// EventArgs type for the event LocaleCountryChanged
340     /// </summary>
341     public class LocaleCountryChangedEventArgs : EventArgs
342     {
343         private readonly string _localeCountry = null;
344         /// <summary>
345         /// The enum for LocaleCountry system setting key
346         /// </summary>
347         public SystemSettingsKeys Key
348         {
349             get
350             {
351                 return SystemSettingsKeys.LocaleCountry;
352             }
353         }
354         internal LocaleCountryChangedEventArgs(string val)
355         {
356             _localeCountry = val;
357         }
358
359         /// <summary>
360         /// Indicates the current country setting in the \<LANGUAGE\>_\<REGION\> syntax.
361         /// The country setting is in the ISO 639-2 format, and the region setting is in the ISO 3166-1 alpha-2 format
362         /// </summary>
363         public string Value
364         {
365             get
366             {
367                 return _localeCountry;
368             }
369         }
370     }
371
372     /// <summary>
373     /// EventArgs type for the event LocaleLanguageChanged
374     /// </summary>
375     public class LocaleLanguageChangedEventArgs : EventArgs
376     {
377         private readonly string _localeLanguage = null;
378         /// <summary>
379         /// The enum for LocaleLanguage system setting key
380         /// </summary>
381         public SystemSettingsKeys Key
382         {
383             get
384             {
385                 return SystemSettingsKeys.LocaleLanguage;
386             }
387         }
388         internal LocaleLanguageChangedEventArgs(string val)
389         {
390             _localeLanguage = val;
391         }
392
393         /// <summary>
394         /// Indicates the current language setting in the \<LANGUAGE\>_\<REGION\> syntax.
395         /// The language setting is in the ISO 639-2 format and the region setting is in the ISO 3166-1 alpha-2 format
396         /// </summary>
397         public string Value
398         {
399             get
400             {
401                 return _localeLanguage;
402             }
403         }
404     }
405
406     /// <summary>
407     /// EventArgs type for the event LocaleTimeFormat24HourChanged
408     /// </summary>
409     public class LocaleTimeFormat24HourSettingChangedEventArgs : EventArgs
410     {
411         private readonly bool _localeTimeFormat24Hour;
412         /// <summary>
413         /// The enum for LocaleTimeFormat24Hour system setting key
414         /// </summary>
415         public SystemSettingsKeys Key
416         {
417             get
418             {
419                 return SystemSettingsKeys.LocaleTimeFormat24HourEnabled;
420             }
421         }
422         internal LocaleTimeFormat24HourSettingChangedEventArgs(bool val)
423         {
424             _localeTimeFormat24Hour = val;
425         }
426
427         /// <summary>
428         /// Indicates whether the 24-hour clock is used. If the value is false, the 12-hour clock is used.
429         /// </summary>
430         public bool Value
431         {
432             get
433             {
434                 return _localeTimeFormat24Hour;
435             }
436         }
437     }
438
439     /// <summary>
440     /// EventArgs type for the event LocaleTimeZoneChanged
441     /// </summary>
442     public class LocaleTimeZoneChangedEventArgs : EventArgs
443     {
444         private readonly string _localeTimeZone = null;
445         /// <summary>
446         /// The enum for LocaleTimeZone system setting key
447         /// </summary>
448         public SystemSettingsKeys Key
449         {
450             get
451             {
452                 return SystemSettingsKeys.LocaleTimeZone;
453             }
454         }
455         internal LocaleTimeZoneChangedEventArgs(string val)
456         {
457             _localeTimeZone = val;
458         }
459
460         /// <summary>
461         /// Indicates the current time zone
462         /// </summary>
463         public string Value
464         {
465             get
466             {
467                 return _localeTimeZone;
468             }
469         }
470     }
471
472     /// <summary>
473     /// EventArgs type for the event TimeChanged
474     /// </summary>
475     public class TimeChangedEventArgs : EventArgs
476     {
477         /// <summary>
478         /// The enum for Time system setting event
479         /// </summary>
480         public SystemSettingsKeys Key
481         {
482             get
483             {
484                 return SystemSettingsKeys.Time;
485             }
486         }
487     }
488
489     /// <summary>
490     /// EventArgs type for the event SoundLockChanged
491     /// </summary>
492     public class SoundLockSettingChangedEventArgs : EventArgs
493     {
494         private readonly bool _soundLock;
495         /// <summary>
496         /// The enum for SoundLock system setting key
497         /// </summary>
498         public SystemSettingsKeys Key
499         {
500             get
501             {
502                 return SystemSettingsKeys.SoundLockEnabled;
503             }
504         }
505         internal SoundLockSettingChangedEventArgs(bool val)
506         {
507             _soundLock = val;
508         }
509
510         /// <summary>
511         ///  Indicates whether the screen lock sound is enabled on the device. ex) LCD on/off sound
512         /// </summary>
513         public bool Value
514         {
515             get
516             {
517                 return _soundLock;
518             }
519         }
520     }
521
522     /// <summary>
523     /// EventArgs type for the event SoundSilentModeChanged
524     /// </summary>
525     public class SoundSilentModeSettingChangedEventArgs : EventArgs
526     {
527         private readonly bool _soundSilentMode;
528         /// <summary>
529         /// The enum for SoundSilentMode system setting key
530         /// </summary>
531         public SystemSettingsKeys Key
532         {
533             get
534             {
535                 return SystemSettingsKeys.SoundSilentModeEnabled;
536             }
537         }
538         internal SoundSilentModeSettingChangedEventArgs(bool val)
539         {
540             _soundSilentMode = val;
541         }
542
543         /// <summary>
544         /// Indicates whether the device is in the silent mode.
545         /// </summary>
546         public bool Value
547         {
548             get
549             {
550                 return _soundSilentMode;
551             }
552         }
553     }
554
555     /// <summary>
556     /// EventArgs type for the event SoundTouchChanged
557     /// </summary>
558     public class SoundTouchSettingChangedEventArgs : EventArgs
559     {
560         private readonly bool _soundTouch;
561         /// <summary>
562         /// The enum for SoundTouch system setting key
563         /// </summary>
564         public SystemSettingsKeys Key
565         {
566             get
567             {
568                 return SystemSettingsKeys.SoundTouchEnabled;
569             }
570         }
571         internal SoundTouchSettingChangedEventArgs(bool val)
572         {
573             _soundTouch = val;
574         }
575
576         /// <summary>
577         /// Indicates whether the screen touch sound is enabled on the device.
578         /// </summary>
579         public bool Value
580         {
581             get
582             {
583                 return _soundTouch;
584             }
585         }
586     }
587
588     /// <summary>
589     /// EventArgs type for the event DisplayScreenRotationAutoChanged
590     /// </summary>
591     public class DisplayScreenRotationAutoSettingChangedEventArgs : EventArgs
592     {
593         private readonly bool _displayScreenRotationAuto;
594         /// <summary>
595         /// The enum for DisplayScreenRotationAuto system setting key
596         /// </summary>
597         public SystemSettingsKeys Key
598         {
599             get
600             {
601                 return SystemSettingsKeys.DisplayScreenRotationAutoEnabled;
602             }
603         }
604         internal DisplayScreenRotationAutoSettingChangedEventArgs(bool val)
605         {
606             _displayScreenRotationAuto = val;
607         }
608
609         /// <summary>
610         /// Indicates whether rotation control is automatic
611         /// </summary>
612         public bool Value
613         {
614             get
615             {
616                 return _displayScreenRotationAuto;
617             }
618         }
619     }
620
621     /// <summary>
622     /// EventArgs type for the event DeviceNameChanged
623     /// </summary>
624     public class DeviceNameChangedEventArgs : EventArgs
625     {
626         private readonly string _deviceName = null;
627         /// <summary>
628         /// The enum for DeviceName system setting key
629         /// </summary>
630         public SystemSettingsKeys Key
631         {
632             get
633             {
634                 return SystemSettingsKeys.DeviceName;
635             }
636         }
637         internal DeviceNameChangedEventArgs(string val)
638         {
639             _deviceName = val;
640         }
641
642         /// <summary>
643         /// Indicates device name
644         /// </summary>
645         public string Value
646         {
647             get
648             {
649                 return _deviceName;
650             }
651         }
652     }
653
654     /// <summary>
655     /// EventArgs type for the event MotionSettingChanged
656     /// </summary>
657     public class MotionSettingChangedEventArgs : EventArgs
658     {
659         private readonly bool _motionEnabled;
660         /// <summary>
661         /// The enum for MotionEnabled system setting key
662         /// </summary>
663         public SystemSettingsKeys Key
664         {
665             get
666             {
667                 return SystemSettingsKeys.MotionEnabled;
668             }
669         }
670         internal MotionSettingChangedEventArgs(bool val)
671         {
672             _motionEnabled = val;
673         }
674
675         /// <summary>
676         /// Indicates whether the device user has enabled motion feature
677         /// </summary>
678         public bool Value
679         {
680             get
681             {
682                 return _motionEnabled;
683             }
684         }
685     }
686
687     /// <summary>
688     /// EventArgs type for the event NetworkWifiNotificationChanged
689     /// </summary>
690     public class NetworkWifiNotificationSettingChangedEventArgs : EventArgs
691     {
692         private readonly bool _networkWifiNotification;
693         /// <summary>
694         /// The enum for NetworkWifiNotification system setting key
695         /// </summary>
696         public SystemSettingsKeys Key
697         {
698             get
699             {
700                 return SystemSettingsKeys.NetworkWifiNotificationEnabled;
701             }
702         }
703         internal NetworkWifiNotificationSettingChangedEventArgs(bool val)
704         {
705             _networkWifiNotification = val;
706         }
707
708         /// <summary>
709         /// Indicates whether Wi-Fi-related notifications are enabled on the device
710         /// </summary>
711         public bool Value
712         {
713             get
714             {
715                 return _networkWifiNotification;
716             }
717         }
718     }
719
720     /// <summary>
721     /// EventArgs type for the event NetworkFlightModeChanged
722     /// </summary>
723     public class NetworkFlightModeSettingChangedEventArgs : EventArgs
724     {
725         private readonly bool _networkFlightMode;
726         /// <summary>
727         /// The enum for NetworkFlightMode system setting key
728         /// </summary>
729         public SystemSettingsKeys Key
730         {
731             get
732             {
733                 return SystemSettingsKeys.NetworkFlightModeEnabled;
734             }
735         }
736         internal NetworkFlightModeSettingChangedEventArgs(bool val)
737         {
738             _networkFlightMode = val;
739         }
740
741         /// <summary>
742         /// Indicates whether the device is in the flight mode
743         /// </summary>
744         public bool Value
745         {
746             get
747             {
748                 return _networkFlightMode;
749             }
750         }
751     }
752
753     /// <summary>
754     /// EventArgs type for the event ScreenBacklightTimeChanged
755     /// </summary>
756     public class ScreenBacklightTimeChangedEventArgs : EventArgs
757     {
758         private readonly int _screenBacklightTime;
759         /// <summary>
760         /// The enum for ScreenBacklightTime system setting key
761         /// </summary>
762         public SystemSettingsKeys Key
763         {
764             get
765             {
766                 return SystemSettingsKeys.ScreenBacklightTime;
767             }
768         }
769         internal ScreenBacklightTimeChangedEventArgs(int val)
770         {
771             _screenBacklightTime = val;
772         }
773
774         /// <summary>
775         /// Indicates the backlight time (in seconds)
776         /// </summary>
777         public int Value
778         {
779             get
780             {
781                 return _screenBacklightTime;
782             }
783         }
784     }
785
786     /// <summary>
787     /// EventArgs type for the event SoundNotificationChanged
788     /// </summary>
789     public class SoundNotificationChangedEventArgs : EventArgs
790     {
791         private readonly string _soundNotification = null;
792         /// <summary>
793         /// The enum for SoundNotification system setting key
794         /// </summary>
795         public SystemSettingsKeys Key
796         {
797             get
798             {
799                 return SystemSettingsKeys.SoundNotification;
800             }
801         }
802         internal SoundNotificationChangedEventArgs(string val)
803         {
804             _soundNotification = val;
805         }
806
807         /// <summary>
808         /// Indicates the file path of the current notification tone set by the user
809         /// </summary>
810         public string Value
811         {
812             get
813             {
814                 return _soundNotification;
815             }
816         }
817     }
818
819     /// <summary>
820     /// EventArgs type for the event SoundNotificationRepetitionPeriodChanged
821     /// </summary>
822     public class SoundNotificationRepetitionPeriodChangedEventArgs : EventArgs
823     {
824         private readonly int _soundNotificationRepetitionPeriod;
825         /// <summary>
826         /// The enum for SoundNotificationRepetitionPeriod system setting key
827         /// </summary>
828         public SystemSettingsKeys Key
829         {
830             get
831             {
832                 return SystemSettingsKeys.SoundNotificationRepetitionPeriod;
833             }
834         }
835         internal SoundNotificationRepetitionPeriodChangedEventArgs(int val)
836         {
837             _soundNotificationRepetitionPeriod = val;
838         }
839
840         /// <summary>
841         /// Indicates the time period for notification repetitions
842         /// </summary>
843         public int Value
844         {
845             get
846             {
847                 return _soundNotificationRepetitionPeriod;
848             }
849         }
850     }
851
852     /// <summary>
853     /// EventArgs type for the event LockStateChanged
854     /// </summary>
855     public class LockStateChangedEventArgs : EventArgs
856     {
857         private readonly SystemSettingsIdleLockState _lockState;
858         /// <summary>
859         /// The enum for LockState system setting key
860         /// </summary>
861         public SystemSettingsKeys Key
862         {
863             get
864             {
865                 return SystemSettingsKeys.LockState;
866             }
867         }
868         internal LockStateChangedEventArgs(SystemSettingsIdleLockState val)
869         {
870             _lockState = val;
871         }
872
873         /// <summary>
874         /// Indicates the current lock state
875         /// </summary>
876         public SystemSettingsIdleLockState Value
877         {
878             get
879             {
880                 return _lockState;
881             }
882         }
883     }
884 }