2 * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
19 namespace Tizen.System
22 /// EventArgs type for the event IncomingCallRingtoneChanged
24 public class IncomingCallRingtoneChangedEventArgs : EventArgs
26 private readonly string _incomingCallRingtone = null;
28 /// The enum for IncomingCallRingtone system setting key
30 public SystemSettingsKeys Key
34 return SystemSettingsKeys.IncomingCallRingtone;
38 internal IncomingCallRingtoneChangedEventArgs(string val)
40 _incomingCallRingtone = val;
44 /// The file path of the current ringtone
50 return _incomingCallRingtone;
56 /// EventArgs type for the event WallpaperHomeScreenChanged
58 public class WallpaperHomeScreenChangedEventArgs : EventArgs
60 private readonly string _wallpaperHomeScreen = null;
62 /// The enum for WallpaperHomeScreen system setting key
64 public SystemSettingsKeys Key
68 return SystemSettingsKeys.WallpaperHomeScreen;
72 internal WallpaperHomeScreenChangedEventArgs(string val)
74 _wallpaperHomeScreen = val;
78 /// The file path of the current home screen wallpaper
84 return _wallpaperHomeScreen;
90 /// EventArgs type for the event WallpaperLockScreenChanged
92 public class WallpaperLockScreenChangedEventArgs : EventArgs
94 private readonly string _wallpaperLockScreen = null;
96 /// The enum for WallpaperLockScreen system setting key
98 public SystemSettingsKeys Key
102 return SystemSettingsKeys.WallpaperLockScreen;
106 internal WallpaperLockScreenChangedEventArgs(string val)
108 _wallpaperLockScreen = val;
112 /// The file path of the current lock screen wallpaper
118 return _wallpaperLockScreen;
124 /// EventArgs type for the event FontSizeChanged
126 public class FontSizeChangedEventArgs : EventArgs
128 private readonly SystemSettingsFontSize _fontSize;
130 /// The enum for FontSize system setting key
132 public SystemSettingsKeys Key
136 return SystemSettingsKeys.FontSize;
139 internal FontSizeChangedEventArgs(SystemSettingsFontSize val)
145 /// The current system font size
147 public SystemSettingsFontSize Value
157 /// EventArgs type for the event FontTypeChanged
159 public class FontTypeChangedEventArgs : EventArgs
161 private readonly string _fontType = null;
163 /// The enum for FontType system setting key
165 public SystemSettingsKeys Key
169 return SystemSettingsKeys.FontType;
172 internal FontTypeChangedEventArgs(string val)
178 /// The current system font type
190 /// EventArgs type for the event MotionActivationChanged
192 public class MotionActivationSettingChangedEventArgs : EventArgs
194 private readonly bool _motionActivation;
196 /// The enum for MotionActivation system setting key
198 public SystemSettingsKeys Key
202 return SystemSettingsKeys.MotionActivationEnabled;
205 internal MotionActivationSettingChangedEventArgs(bool val)
207 _motionActivation = val;
211 /// Indicates whether the motion service is activated
217 return _motionActivation;
223 /// EventArgs type for the event EmailAlertRingtoneChanged
225 public class EmailAlertRingtoneChangedEventArgs : EventArgs
227 private readonly string _emailAlertRingtone = null;
229 /// The enum for EmailAlertRingtone system setting key
231 public SystemSettingsKeys Key
235 return SystemSettingsKeys.EmailAlertRingtone;
238 internal EmailAlertRingtoneChangedEventArgs(string val)
240 _emailAlertRingtone = val;
244 /// The file path of the current email alert ringtone
250 return _emailAlertRingtone;
256 /// EventArgs type for the event UsbDebuggingSettingChanged
258 public class UsbDebuggingSettingChangedEventArgs : EventArgs
260 private readonly bool _usbDebuggingEnabled;
262 /// The enum for UsbDebuggingEnabled system setting key
264 public SystemSettingsKeys Key
268 return SystemSettingsKeys.UsbDebuggingEnabled;
271 internal UsbDebuggingSettingChangedEventArgs(bool val)
273 _usbDebuggingEnabled = val;
277 /// Indicates whether the USB debugging is enabled
283 return _usbDebuggingEnabled;
289 /// EventArgs type for the event Data3GNetworkSettingChanged
291 public class Data3GNetworkSettingChangedEventArgs : EventArgs
293 private readonly bool _data3GNetworkEnabled;
295 /// The enum for Data3GNetworkEnabled system setting key
297 public SystemSettingsKeys Key
301 return SystemSettingsKeys.Data3GNetworkEnabled;
304 internal Data3GNetworkSettingChangedEventArgs(bool val)
306 _data3GNetworkEnabled = val;
310 /// Indicates whether the 3G data network is enabled
316 return _data3GNetworkEnabled;
322 /// EventArgs type for the event LockscreenAppChanged
324 public class LockscreenAppChangedEventArgs : EventArgs
326 private readonly string _lockscreenApp = null;
328 /// The enum for LockscreenApp system setting key
330 public SystemSettingsKeys Key
334 return SystemSettingsKeys.LockscreenApp;
337 internal LockscreenAppChangedEventArgs(string val)
339 _lockscreenApp = val;
343 /// Indicates lockscreen app pkg name
349 return _lockscreenApp;
355 /// EventArgs type for the event LocaleCountryChanged
357 public class LocaleCountryChangedEventArgs : EventArgs
359 private readonly string _localeCountry = null;
361 /// The enum for LocaleCountry system setting key
363 public SystemSettingsKeys Key
367 return SystemSettingsKeys.LocaleCountry;
370 internal LocaleCountryChangedEventArgs(string val)
372 _localeCountry = val;
376 /// Indicates the current country setting in the \<LANGUAGE\>_\<REGION\> syntax.
377 /// The country setting is in the ISO 639-2 format, and the region setting is in the ISO 3166-1 alpha-2 format
383 return _localeCountry;
389 /// EventArgs type for the event LocaleLanguageChanged
391 public class LocaleLanguageChangedEventArgs : EventArgs
393 private readonly string _localeLanguage = null;
395 /// The enum for LocaleLanguage system setting key
397 public SystemSettingsKeys Key
401 return SystemSettingsKeys.LocaleLanguage;
404 internal LocaleLanguageChangedEventArgs(string val)
406 _localeLanguage = val;
410 /// Indicates the current language setting in the \<LANGUAGE\>_\<REGION\> syntax.
411 /// The language setting is in the ISO 639-2 format and the region setting is in the ISO 3166-1 alpha-2 format
417 return _localeLanguage;
423 /// EventArgs type for the event LocaleTimeFormat24HourChanged
425 public class LocaleTimeFormat24HourSettingChangedEventArgs : EventArgs
427 private readonly bool _localeTimeFormat24Hour;
429 /// The enum for LocaleTimeFormat24Hour system setting key
431 public SystemSettingsKeys Key
435 return SystemSettingsKeys.LocaleTimeFormat24HourEnabled;
438 internal LocaleTimeFormat24HourSettingChangedEventArgs(bool val)
440 _localeTimeFormat24Hour = val;
444 /// Indicates whether the 24-hour clock is used. If the value is false, the 12-hour clock is used.
450 return _localeTimeFormat24Hour;
456 /// EventArgs type for the event LocaleTimeZoneChanged
458 public class LocaleTimeZoneChangedEventArgs : EventArgs
460 private readonly string _localeTimeZone = null;
462 /// The enum for LocaleTimeZone system setting key
464 public SystemSettingsKeys Key
468 return SystemSettingsKeys.LocaleTimeZone;
471 internal LocaleTimeZoneChangedEventArgs(string val)
473 _localeTimeZone = val;
477 /// Indicates the current time zone
483 return _localeTimeZone;
489 /// EventArgs type for the event TimeChanged
491 public class TimeChangedEventArgs : EventArgs
494 /// The enum for Time system setting event
496 public SystemSettingsKeys Key
500 return SystemSettingsKeys.Time;
503 internal TimeChangedEventArgs()
509 /// EventArgs type for the event SoundLockChanged
511 public class SoundLockSettingChangedEventArgs : EventArgs
513 private readonly bool _soundLock;
515 /// The enum for SoundLock system setting key
517 public SystemSettingsKeys Key
521 return SystemSettingsKeys.SoundLockEnabled;
524 internal SoundLockSettingChangedEventArgs(bool val)
530 /// Indicates whether the screen lock sound is enabled on the device. ex) LCD on/off sound
542 /// EventArgs type for the event SoundSilentModeChanged
544 public class SoundSilentModeSettingChangedEventArgs : EventArgs
546 private readonly bool _soundSilentMode;
548 /// The enum for SoundSilentMode system setting key
550 public SystemSettingsKeys Key
554 return SystemSettingsKeys.SoundSilentModeEnabled;
557 internal SoundSilentModeSettingChangedEventArgs(bool val)
559 _soundSilentMode = val;
563 /// Indicates whether the device is in the silent mode.
569 return _soundSilentMode;
575 /// EventArgs type for the event SoundTouchChanged
577 public class SoundTouchSettingChangedEventArgs : EventArgs
579 private readonly bool _soundTouch;
581 /// The enum for SoundTouch system setting key
583 public SystemSettingsKeys Key
587 return SystemSettingsKeys.SoundTouchEnabled;
590 internal SoundTouchSettingChangedEventArgs(bool val)
596 /// Indicates whether the screen touch sound is enabled on the device.
608 /// EventArgs type for the event DisplayScreenRotationAutoChanged
610 public class DisplayScreenRotationAutoSettingChangedEventArgs : EventArgs
612 private readonly bool _displayScreenRotationAuto;
614 /// The enum for DisplayScreenRotationAuto system setting key
616 public SystemSettingsKeys Key
620 return SystemSettingsKeys.DisplayScreenRotationAutoEnabled;
623 internal DisplayScreenRotationAutoSettingChangedEventArgs(bool val)
625 _displayScreenRotationAuto = val;
629 /// Indicates whether rotation control is automatic
635 return _displayScreenRotationAuto;
641 /// EventArgs type for the event DeviceNameChanged
643 public class DeviceNameChangedEventArgs : EventArgs
645 private readonly string _deviceName = null;
647 /// The enum for DeviceName system setting key
649 public SystemSettingsKeys Key
653 return SystemSettingsKeys.DeviceName;
656 internal DeviceNameChangedEventArgs(string val)
662 /// Indicates device name
674 /// EventArgs type for the event MotionSettingChanged
676 public class MotionSettingChangedEventArgs : EventArgs
678 private readonly bool _motionEnabled;
680 /// The enum for MotionEnabled system setting key
682 public SystemSettingsKeys Key
686 return SystemSettingsKeys.MotionEnabled;
689 internal MotionSettingChangedEventArgs(bool val)
691 _motionEnabled = val;
695 /// Indicates whether the device user has enabled motion feature
701 return _motionEnabled;
707 /// EventArgs type for the event NetworkWifiNotificationChanged
709 public class NetworkWifiNotificationSettingChangedEventArgs : EventArgs
711 private readonly bool _networkWifiNotification;
713 /// The enum for NetworkWifiNotification system setting key
715 public SystemSettingsKeys Key
719 return SystemSettingsKeys.NetworkWifiNotificationEnabled;
722 internal NetworkWifiNotificationSettingChangedEventArgs(bool val)
724 _networkWifiNotification = val;
728 /// Indicates whether Wi-Fi-related notifications are enabled on the device
734 return _networkWifiNotification;
740 /// EventArgs type for the event NetworkFlightModeChanged
742 public class NetworkFlightModeSettingChangedEventArgs : EventArgs
744 private readonly bool _networkFlightMode;
746 /// The enum for NetworkFlightMode system setting key
748 public SystemSettingsKeys Key
752 return SystemSettingsKeys.NetworkFlightModeEnabled;
755 internal NetworkFlightModeSettingChangedEventArgs(bool val)
757 _networkFlightMode = val;
761 /// Indicates whether the device is in the flight mode
767 return _networkFlightMode;
773 /// EventArgs type for the event ScreenBacklightTimeChanged
775 public class ScreenBacklightTimeChangedEventArgs : EventArgs
777 private readonly int _screenBacklightTime;
779 /// The enum for ScreenBacklightTime system setting key
781 public SystemSettingsKeys Key
785 return SystemSettingsKeys.ScreenBacklightTime;
788 internal ScreenBacklightTimeChangedEventArgs(int val)
790 _screenBacklightTime = val;
794 /// Indicates the backlight time (in seconds)
800 return _screenBacklightTime;
806 /// EventArgs type for the event SoundNotificationChanged
808 public class SoundNotificationChangedEventArgs : EventArgs
810 private readonly string _soundNotification = null;
812 /// The enum for SoundNotification system setting key
814 public SystemSettingsKeys Key
818 return SystemSettingsKeys.SoundNotification;
821 internal SoundNotificationChangedEventArgs(string val)
823 _soundNotification = val;
827 /// Indicates the file path of the current notification tone set by the user
833 return _soundNotification;
839 /// EventArgs type for the event SoundNotificationRepetitionPeriodChanged
841 public class SoundNotificationRepetitionPeriodChangedEventArgs : EventArgs
843 private readonly int _soundNotificationRepetitionPeriod;
845 /// The enum for SoundNotificationRepetitionPeriod system setting key
847 public SystemSettingsKeys Key
851 return SystemSettingsKeys.SoundNotificationRepetitionPeriod;
854 internal SoundNotificationRepetitionPeriodChangedEventArgs(int val)
856 _soundNotificationRepetitionPeriod = val;
860 /// Indicates the time period for notification repetitions
866 return _soundNotificationRepetitionPeriod;
872 /// EventArgs type for the event LockStateChanged
874 public class LockStateChangedEventArgs : EventArgs
876 private readonly SystemSettingsIdleLockState _lockState;
878 /// The enum for LockState system setting key
880 public SystemSettingsKeys Key
884 return SystemSettingsKeys.LockState;
887 internal LockStateChangedEventArgs(SystemSettingsIdleLockState val)
893 /// Indicates the current lock state
895 public SystemSettingsIdleLockState Value