650a6418ca019e4d95bff664424c357f8a80de39
[platform/core/csapi/system-settings.git] / Tizen.System.SystemSettings / 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         internal TimeChangedEventArgs()
488         {
489         }
490     }
491
492     /// <summary>
493     /// EventArgs type for the event SoundLockChanged
494     /// </summary>
495     public class SoundLockSettingChangedEventArgs : EventArgs
496     {
497         private readonly bool _soundLock;
498         /// <summary>
499         /// The enum for SoundLock system setting key
500         /// </summary>
501         public SystemSettingsKeys Key
502         {
503             get
504             {
505                 return SystemSettingsKeys.SoundLockEnabled;
506             }
507         }
508         internal SoundLockSettingChangedEventArgs(bool val)
509         {
510             _soundLock = val;
511         }
512
513         /// <summary>
514         ///  Indicates whether the screen lock sound is enabled on the device. ex) LCD on/off sound
515         /// </summary>
516         public bool Value
517         {
518             get
519             {
520                 return _soundLock;
521             }
522         }
523     }
524
525     /// <summary>
526     /// EventArgs type for the event SoundSilentModeChanged
527     /// </summary>
528     public class SoundSilentModeSettingChangedEventArgs : EventArgs
529     {
530         private readonly bool _soundSilentMode;
531         /// <summary>
532         /// The enum for SoundSilentMode system setting key
533         /// </summary>
534         public SystemSettingsKeys Key
535         {
536             get
537             {
538                 return SystemSettingsKeys.SoundSilentModeEnabled;
539             }
540         }
541         internal SoundSilentModeSettingChangedEventArgs(bool val)
542         {
543             _soundSilentMode = val;
544         }
545
546         /// <summary>
547         /// Indicates whether the device is in the silent mode.
548         /// </summary>
549         public bool Value
550         {
551             get
552             {
553                 return _soundSilentMode;
554             }
555         }
556     }
557
558     /// <summary>
559     /// EventArgs type for the event SoundTouchChanged
560     /// </summary>
561     public class SoundTouchSettingChangedEventArgs : EventArgs
562     {
563         private readonly bool _soundTouch;
564         /// <summary>
565         /// The enum for SoundTouch system setting key
566         /// </summary>
567         public SystemSettingsKeys Key
568         {
569             get
570             {
571                 return SystemSettingsKeys.SoundTouchEnabled;
572             }
573         }
574         internal SoundTouchSettingChangedEventArgs(bool val)
575         {
576             _soundTouch = val;
577         }
578
579         /// <summary>
580         /// Indicates whether the screen touch sound is enabled on the device.
581         /// </summary>
582         public bool Value
583         {
584             get
585             {
586                 return _soundTouch;
587             }
588         }
589     }
590
591     /// <summary>
592     /// EventArgs type for the event DisplayScreenRotationAutoChanged
593     /// </summary>
594     public class DisplayScreenRotationAutoSettingChangedEventArgs : EventArgs
595     {
596         private readonly bool _displayScreenRotationAuto;
597         /// <summary>
598         /// The enum for DisplayScreenRotationAuto system setting key
599         /// </summary>
600         public SystemSettingsKeys Key
601         {
602             get
603             {
604                 return SystemSettingsKeys.DisplayScreenRotationAutoEnabled;
605             }
606         }
607         internal DisplayScreenRotationAutoSettingChangedEventArgs(bool val)
608         {
609             _displayScreenRotationAuto = val;
610         }
611
612         /// <summary>
613         /// Indicates whether rotation control is automatic
614         /// </summary>
615         public bool Value
616         {
617             get
618             {
619                 return _displayScreenRotationAuto;
620             }
621         }
622     }
623
624     /// <summary>
625     /// EventArgs type for the event DeviceNameChanged
626     /// </summary>
627     public class DeviceNameChangedEventArgs : EventArgs
628     {
629         private readonly string _deviceName = null;
630         /// <summary>
631         /// The enum for DeviceName system setting key
632         /// </summary>
633         public SystemSettingsKeys Key
634         {
635             get
636             {
637                 return SystemSettingsKeys.DeviceName;
638             }
639         }
640         internal DeviceNameChangedEventArgs(string val)
641         {
642             _deviceName = val;
643         }
644
645         /// <summary>
646         /// Indicates device name
647         /// </summary>
648         public string Value
649         {
650             get
651             {
652                 return _deviceName;
653             }
654         }
655     }
656
657     /// <summary>
658     /// EventArgs type for the event MotionSettingChanged
659     /// </summary>
660     public class MotionSettingChangedEventArgs : EventArgs
661     {
662         private readonly bool _motionEnabled;
663         /// <summary>
664         /// The enum for MotionEnabled system setting key
665         /// </summary>
666         public SystemSettingsKeys Key
667         {
668             get
669             {
670                 return SystemSettingsKeys.MotionEnabled;
671             }
672         }
673         internal MotionSettingChangedEventArgs(bool val)
674         {
675             _motionEnabled = val;
676         }
677
678         /// <summary>
679         /// Indicates whether the device user has enabled motion feature
680         /// </summary>
681         public bool Value
682         {
683             get
684             {
685                 return _motionEnabled;
686             }
687         }
688     }
689
690     /// <summary>
691     /// EventArgs type for the event NetworkWifiNotificationChanged
692     /// </summary>
693     public class NetworkWifiNotificationSettingChangedEventArgs : EventArgs
694     {
695         private readonly bool _networkWifiNotification;
696         /// <summary>
697         /// The enum for NetworkWifiNotification system setting key
698         /// </summary>
699         public SystemSettingsKeys Key
700         {
701             get
702             {
703                 return SystemSettingsKeys.NetworkWifiNotificationEnabled;
704             }
705         }
706         internal NetworkWifiNotificationSettingChangedEventArgs(bool val)
707         {
708             _networkWifiNotification = val;
709         }
710
711         /// <summary>
712         /// Indicates whether Wi-Fi-related notifications are enabled on the device
713         /// </summary>
714         public bool Value
715         {
716             get
717             {
718                 return _networkWifiNotification;
719             }
720         }
721     }
722
723     /// <summary>
724     /// EventArgs type for the event NetworkFlightModeChanged
725     /// </summary>
726     public class NetworkFlightModeSettingChangedEventArgs : EventArgs
727     {
728         private readonly bool _networkFlightMode;
729         /// <summary>
730         /// The enum for NetworkFlightMode system setting key
731         /// </summary>
732         public SystemSettingsKeys Key
733         {
734             get
735             {
736                 return SystemSettingsKeys.NetworkFlightModeEnabled;
737             }
738         }
739         internal NetworkFlightModeSettingChangedEventArgs(bool val)
740         {
741             _networkFlightMode = val;
742         }
743
744         /// <summary>
745         /// Indicates whether the device is in the flight mode
746         /// </summary>
747         public bool Value
748         {
749             get
750             {
751                 return _networkFlightMode;
752             }
753         }
754     }
755
756     /// <summary>
757     /// EventArgs type for the event ScreenBacklightTimeChanged
758     /// </summary>
759     public class ScreenBacklightTimeChangedEventArgs : EventArgs
760     {
761         private readonly int _screenBacklightTime;
762         /// <summary>
763         /// The enum for ScreenBacklightTime system setting key
764         /// </summary>
765         public SystemSettingsKeys Key
766         {
767             get
768             {
769                 return SystemSettingsKeys.ScreenBacklightTime;
770             }
771         }
772         internal ScreenBacklightTimeChangedEventArgs(int val)
773         {
774             _screenBacklightTime = val;
775         }
776
777         /// <summary>
778         /// Indicates the backlight time (in seconds)
779         /// </summary>
780         public int Value
781         {
782             get
783             {
784                 return _screenBacklightTime;
785             }
786         }
787     }
788
789     /// <summary>
790     /// EventArgs type for the event SoundNotificationChanged
791     /// </summary>
792     public class SoundNotificationChangedEventArgs : EventArgs
793     {
794         private readonly string _soundNotification = null;
795         /// <summary>
796         /// The enum for SoundNotification system setting key
797         /// </summary>
798         public SystemSettingsKeys Key
799         {
800             get
801             {
802                 return SystemSettingsKeys.SoundNotification;
803             }
804         }
805         internal SoundNotificationChangedEventArgs(string val)
806         {
807             _soundNotification = val;
808         }
809
810         /// <summary>
811         /// Indicates the file path of the current notification tone set by the user
812         /// </summary>
813         public string Value
814         {
815             get
816             {
817                 return _soundNotification;
818             }
819         }
820     }
821
822     /// <summary>
823     /// EventArgs type for the event SoundNotificationRepetitionPeriodChanged
824     /// </summary>
825     public class SoundNotificationRepetitionPeriodChangedEventArgs : EventArgs
826     {
827         private readonly int _soundNotificationRepetitionPeriod;
828         /// <summary>
829         /// The enum for SoundNotificationRepetitionPeriod system setting key
830         /// </summary>
831         public SystemSettingsKeys Key
832         {
833             get
834             {
835                 return SystemSettingsKeys.SoundNotificationRepetitionPeriod;
836             }
837         }
838         internal SoundNotificationRepetitionPeriodChangedEventArgs(int val)
839         {
840             _soundNotificationRepetitionPeriod = val;
841         }
842
843         /// <summary>
844         /// Indicates the time period for notification repetitions
845         /// </summary>
846         public int Value
847         {
848             get
849             {
850                 return _soundNotificationRepetitionPeriod;
851             }
852         }
853     }
854
855     /// <summary>
856     /// EventArgs type for the event LockStateChanged
857     /// </summary>
858     public class LockStateChangedEventArgs : EventArgs
859     {
860         private readonly SystemSettingsIdleLockState _lockState;
861         /// <summary>
862         /// The enum for LockState system setting key
863         /// </summary>
864         public SystemSettingsKeys Key
865         {
866             get
867             {
868                 return SystemSettingsKeys.LockState;
869             }
870         }
871         internal LockStateChangedEventArgs(SystemSettingsIdleLockState val)
872         {
873             _lockState = val;
874         }
875
876         /// <summary>
877         /// Indicates the current lock state
878         /// </summary>
879         public SystemSettingsIdleLockState Value
880         {
881             get
882             {
883                 return _lockState;
884             }
885         }
886     }
887 }