Change assembly installation path
[platform/core/csapi/system-settings.git] / Tizen.System.SystemSettings / Tizen.System.SystemSettings / SystemSettingsEventArgs.cs
1 using System;
2
3 namespace Tizen.System.SystemSettings
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 DefaultFontTypeChanged
340     /// </summary>
341     public class DefaultFontTypeChangedEventArgs : EventArgs
342     {
343         private readonly string _defaultFontType = null;
344         /// <summary>
345         /// The enum for DefaultFontType system setting key
346         /// </summary>
347         public SystemSettingsKeys Key
348         {
349             get
350             {
351                 return SystemSettingsKeys.DefaultFontType;
352             }
353         }
354         internal DefaultFontTypeChangedEventArgs(string val)
355         {
356             _defaultFontType = val;
357         }
358
359         /// <summary>
360         /// The current system default font type
361         /// </summary>
362         public string Value
363         {
364             get
365             {
366                 return _defaultFontType;
367             }
368         }
369     }
370
371     /// <summary>
372     /// EventArgs type for the event LocaleCountryChanged
373     /// </summary>
374     public class LocaleCountryChangedEventArgs : EventArgs
375     {
376         private readonly string _localeCountry = null;
377         /// <summary>
378         /// The enum for LocaleCountry system setting key
379         /// </summary>
380         public SystemSettingsKeys Key
381         {
382             get
383             {
384                 return SystemSettingsKeys.LocaleCountry;
385             }
386         }
387         internal LocaleCountryChangedEventArgs(string val)
388         {
389             _localeCountry = val;
390         }
391
392         /// <summary>
393         /// Indicates the current country setting in the <LANGUAGE>_<REGION> syntax.
394         /// The country setting is in the ISO 639-2 format, and the region setting is in the ISO 3166-1 alpha-2 format
395         /// </summary>
396         public string Value
397         {
398             get
399             {
400                 return _localeCountry;
401             }
402         }
403     }
404
405     /// <summary>
406     /// EventArgs type for the event LocaleLanguageChanged
407     /// </summary>
408     public class LocaleLanguageChangedEventArgs : EventArgs
409     {
410         private readonly string _localeLanguage = null;
411         /// <summary>
412         /// The enum for LocaleLanguage system setting key
413         /// </summary>
414         public SystemSettingsKeys Key
415         {
416             get
417             {
418                 return SystemSettingsKeys.LocaleLanguage;
419             }
420         }
421         internal LocaleLanguageChangedEventArgs(string val)
422         {
423             _localeLanguage = val;
424         }
425
426         /// <summary>
427         /// Indicates the current language setting in the <LANGUAGE>_<REGION> syntax.
428         /// The language setting is in the ISO 639-2 format and the region setting is in the ISO 3166-1 alpha-2 format
429         /// </summary>
430         public string Value
431         {
432             get
433             {
434                 return _localeLanguage;
435             }
436         }
437     }
438
439     /// <summary>
440     /// EventArgs type for the event LocaleTimeFormat24HourChanged
441     /// </summary>
442     public class LocaleTimeFormat24HourSettingChangedEventArgs : EventArgs
443     {
444         private readonly bool _localeTimeFormat24Hour;
445         /// <summary>
446         /// The enum for LocaleTimeFormat24Hour system setting key
447         /// </summary>
448         public SystemSettingsKeys Key
449         {
450             get
451             {
452                 return SystemSettingsKeys.LocaleTimeFormat24HourEnabled;
453             }
454         }
455         internal LocaleTimeFormat24HourSettingChangedEventArgs(bool val)
456         {
457             _localeTimeFormat24Hour = val;
458         }
459
460         /// <summary>
461         /// Indicates whether the 24-hour clock is used. If the value is false, the 12-hour clock is used.
462         /// </summary>
463         public bool Value
464         {
465             get
466             {
467                 return _localeTimeFormat24Hour;
468             }
469         }
470     }
471
472     /// <summary>
473     /// EventArgs type for the event LocaleTimeZoneChanged
474     /// </summary>
475     public class LocaleTimeZoneChangedEventArgs : EventArgs
476     {
477         private readonly string _localeTimeZone = null;
478         /// <summary>
479         /// The enum for LocaleTimeZone system setting key
480         /// </summary>
481         public SystemSettingsKeys Key
482         {
483             get
484             {
485                 return SystemSettingsKeys.LocaleTimeZone;
486             }
487         }
488         internal LocaleTimeZoneChangedEventArgs(string val)
489         {
490             _localeTimeZone = val;
491         }
492
493         /// <summary>
494         /// Indicates the current time zone
495         /// </summary>
496         public string Value
497         {
498             get
499             {
500                 return _localeTimeZone;
501             }
502         }
503     }
504
505     /// <summary>
506     /// EventArgs type for the event TimeChanged
507     /// </summary>
508     public class TimeChangedEventArgs : EventArgs
509     {
510         /// <summary>
511         /// The enum for Time system setting event
512         /// </summary>
513         public SystemSettingsKeys Key
514         {
515             get
516             {
517                 return SystemSettingsKeys.Time;
518             }
519         }
520     }
521
522     /// <summary>
523     /// EventArgs type for the event SoundLockChanged
524     /// </summary>
525     public class SoundLockSettingChangedEventArgs : EventArgs
526     {
527         private readonly bool _soundLock;
528         /// <summary>
529         /// The enum for SoundLock system setting key
530         /// </summary>
531         public SystemSettingsKeys Key
532         {
533             get
534             {
535                 return SystemSettingsKeys.SoundLockEnabled;
536             }
537         }
538         internal SoundLockSettingChangedEventArgs(bool val)
539         {
540             _soundLock = val;
541         }
542
543         /// <summary>
544         ///  Indicates whether the screen lock sound is enabled on the device. ex) LCD on/off sound
545         /// </summary>
546         public bool Value
547         {
548             get
549             {
550                 return _soundLock;
551             }
552         }
553     }
554
555     /// <summary>
556     /// EventArgs type for the event SoundSilentModeChanged
557     /// </summary>
558     public class SoundSilentModeSettingChangedEventArgs : EventArgs
559     {
560         private readonly bool _soundSilentMode;
561         /// <summary>
562         /// The enum for SoundSilentMode system setting key
563         /// </summary>
564         public SystemSettingsKeys Key
565         {
566             get
567             {
568                 return SystemSettingsKeys.SoundSilentModeEnabled;
569             }
570         }
571         internal SoundSilentModeSettingChangedEventArgs(bool val)
572         {
573             _soundSilentMode = val;
574         }
575
576         /// <summary>
577         /// Indicates whether the device is in the silent mode.
578         /// </summary>
579         public bool Value
580         {
581             get
582             {
583                 return _soundSilentMode;
584             }
585         }
586     }
587
588     /// <summary>
589     /// EventArgs type for the event SoundTouchChanged
590     /// </summary>
591     public class SoundTouchSettingChangedEventArgs : EventArgs
592     {
593         private readonly bool _soundTouch;
594         /// <summary>
595         /// The enum for SoundTouch system setting key
596         /// </summary>
597         public SystemSettingsKeys Key
598         {
599             get
600             {
601                 return SystemSettingsKeys.SoundTouchEnabled;
602             }
603         }
604         internal SoundTouchSettingChangedEventArgs(bool val)
605         {
606             _soundTouch = val;
607         }
608
609         /// <summary>
610         /// Indicates whether the screen touch sound is enabled on the device.
611         /// </summary>
612         public bool Value
613         {
614             get
615             {
616                 return _soundTouch;
617             }
618         }
619     }
620
621     /// <summary>
622     /// EventArgs type for the event DisplayScreenRotationAutoChanged
623     /// </summary>
624     public class DisplayScreenRotationAutoSettingChangedEventArgs : EventArgs
625     {
626         private readonly bool _displayScreenRotationAuto;
627         /// <summary>
628         /// The enum for DisplayScreenRotationAuto system setting key
629         /// </summary>
630         public SystemSettingsKeys Key
631         {
632             get
633             {
634                 return SystemSettingsKeys.DisplayScreenRotationAutoEnabled;
635             }
636         }
637         internal DisplayScreenRotationAutoSettingChangedEventArgs(bool val)
638         {
639             _displayScreenRotationAuto = val;
640         }
641
642         /// <summary>
643         /// Indicates whether rotation control is automatic
644         /// </summary>
645         public bool Value
646         {
647             get
648             {
649                 return _displayScreenRotationAuto;
650             }
651         }
652     }
653
654     /// <summary>
655     /// EventArgs type for the event DeviceNameChanged
656     /// </summary>
657     public class DeviceNameChangedEventArgs : EventArgs
658     {
659         private readonly string _deviceName = null;
660         /// <summary>
661         /// The enum for DeviceName system setting key
662         /// </summary>
663         public SystemSettingsKeys Key
664         {
665             get
666             {
667                 return SystemSettingsKeys.DeviceName;
668             }
669         }
670         internal DeviceNameChangedEventArgs(string val)
671         {
672             _deviceName = val;
673         }
674
675         /// <summary>
676         /// Indicates device name
677         /// </summary>
678         public string Value
679         {
680             get
681             {
682                 return _deviceName;
683             }
684         }
685     }
686
687     /// <summary>
688     /// EventArgs type for the event MotionSettingChanged
689     /// </summary>
690     public class MotionSettingChangedEventArgs : EventArgs
691     {
692         private readonly bool _motionEnabled;
693         /// <summary>
694         /// The enum for MotionEnabled system setting key
695         /// </summary>
696         public SystemSettingsKeys Key
697         {
698             get
699             {
700                 return SystemSettingsKeys.MotionEnabled;
701             }
702         }
703         internal MotionSettingChangedEventArgs(bool val)
704         {
705             _motionEnabled = val;
706         }
707
708         /// <summary>
709         /// Indicates whether the device user has enabled motion feature
710         /// </summary>
711         public bool Value
712         {
713             get
714             {
715                 return _motionEnabled;
716             }
717         }
718     }
719
720     /// <summary>
721     /// EventArgs type for the event NetworkWifiNotificationChanged
722     /// </summary>
723     public class NetworkWifiNotificationSettingChangedEventArgs : EventArgs
724     {
725         private readonly bool _networkWifiNotification;
726         /// <summary>
727         /// The enum for NetworkWifiNotification system setting key
728         /// </summary>
729         public SystemSettingsKeys Key
730         {
731             get
732             {
733                 return SystemSettingsKeys.NetworkWifiNotificationEnabled;
734             }
735         }
736         internal NetworkWifiNotificationSettingChangedEventArgs(bool val)
737         {
738             _networkWifiNotification = val;
739         }
740
741         /// <summary>
742         /// Indicates whether Wi-Fi-related notifications are enabled on the device
743         /// </summary>
744         public bool Value
745         {
746             get
747             {
748                 return _networkWifiNotification;
749             }
750         }
751     }
752
753     /// <summary>
754     /// EventArgs type for the event NetworkFlightModeChanged
755     /// </summary>
756     public class NetworkFlightModeSettingChangedEventArgs : EventArgs
757     {
758         private readonly bool _networkFlightMode;
759         /// <summary>
760         /// The enum for NetworkFlightMode system setting key
761         /// </summary>
762         public SystemSettingsKeys Key
763         {
764             get
765             {
766                 return SystemSettingsKeys.NetworkFlightModeEnabled;
767             }
768         }
769         internal NetworkFlightModeSettingChangedEventArgs(bool val)
770         {
771             _networkFlightMode = val;
772         }
773
774         /// <summary>
775         /// Indicates whether the device is in the flight mode
776         /// </summary>
777         public bool Value
778         {
779             get
780             {
781                 return _networkFlightMode;
782             }
783         }
784     }
785
786     /// <summary>
787     /// EventArgs type for the event ScreenBacklightTimeChanged
788     /// </summary>
789     public class ScreenBacklightTimeChangedEventArgs : EventArgs
790     {
791         private readonly int _screenBacklightTime;
792         /// <summary>
793         /// The enum for ScreenBacklightTime system setting key
794         /// </summary>
795         public SystemSettingsKeys Key
796         {
797             get
798             {
799                 return SystemSettingsKeys.ScreenBacklightTime;
800             }
801         }
802         internal ScreenBacklightTimeChangedEventArgs(int val)
803         {
804             _screenBacklightTime = val;
805         }
806
807         /// <summary>
808         /// Indicates the backlight time (in seconds)
809         /// </summary>
810         public int Value
811         {
812             get
813             {
814                 return _screenBacklightTime;
815             }
816         }
817     }
818
819     /// <summary>
820     /// EventArgs type for the event SoundNotificationChanged
821     /// </summary>
822     public class SoundNotificationChangedEventArgs : EventArgs
823     {
824         private readonly string _soundNotification = null;
825         /// <summary>
826         /// The enum for SoundNotification system setting key
827         /// </summary>
828         public SystemSettingsKeys Key
829         {
830             get
831             {
832                 return SystemSettingsKeys.SoundNotification;
833             }
834         }
835         internal SoundNotificationChangedEventArgs(string val)
836         {
837             _soundNotification = val;
838         }
839
840         /// <summary>
841         /// Indicates the file path of the current notification tone set by the user
842         /// </summary>
843         public string Value
844         {
845             get
846             {
847                 return _soundNotification;
848             }
849         }
850     }
851
852     /// <summary>
853     /// EventArgs type for the event SoundNotificationRepetitionPeriodChanged
854     /// </summary>
855     public class SoundNotificationRepetitionPeriodChangedEventArgs : EventArgs
856     {
857         private readonly int _soundNotificationRepetitionPeriod;
858         /// <summary>
859         /// The enum for SoundNotificationRepetitionPeriod system setting key
860         /// </summary>
861         public SystemSettingsKeys Key
862         {
863             get
864             {
865                 return SystemSettingsKeys.SoundNotificationRepetitionPeriod;
866             }
867         }
868         internal SoundNotificationRepetitionPeriodChangedEventArgs(int val)
869         {
870             _soundNotificationRepetitionPeriod = val;
871         }
872
873         /// <summary>
874         /// Indicates the time period for notification repetitions
875         /// </summary>
876         public int Value
877         {
878             get
879             {
880                 return _soundNotificationRepetitionPeriod;
881             }
882         }
883     }
884
885     /// <summary>
886     /// EventArgs type for the event LockStateChanged
887     /// </summary>
888     public class LockStateChangedEventArgs : EventArgs
889     {
890         private readonly SystemSettingsIdleLockState _lockState;
891         /// <summary>
892         /// The enum for LockState system setting key
893         /// </summary>
894         public SystemSettingsKeys Key
895         {
896             get
897             {
898                 return SystemSettingsKeys.LockState;
899             }
900         }
901         internal LockStateChangedEventArgs(SystemSettingsIdleLockState val)
902         {
903             _lockState = val;
904         }
905
906         /// <summary>
907         /// Indicates the current lock state
908         /// </summary>
909         public SystemSettingsIdleLockState Value
910         {
911             get
912             {
913                 return _lockState;
914             }
915         }
916     }
917 }