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;
27 internal IncomingCallRingtoneChangedEventArgs(string val)
29 _incomingCallRingtone = val;
33 /// The file path of the current ringtone
39 return _incomingCallRingtone;
45 /// EventArgs type for the event WallpaperHomeScreenChanged
47 public class WallpaperHomeScreenChangedEventArgs : EventArgs
49 private readonly string _wallpaperHomeScreen = null;
50 internal WallpaperHomeScreenChangedEventArgs(string val)
52 _wallpaperHomeScreen = val;
56 /// The file path of the current home screen wallpaper
62 return _wallpaperHomeScreen;
68 /// EventArgs type for the event WallpaperLockScreenChanged
70 public class WallpaperLockScreenChangedEventArgs : EventArgs
72 private readonly string _wallpaperLockScreen = null;
73 internal WallpaperLockScreenChangedEventArgs(string val)
75 _wallpaperLockScreen = val;
79 /// The file path of the current lock screen wallpaper
85 return _wallpaperLockScreen;
91 /// EventArgs type for the event FontSizeChanged
93 public class FontSizeChangedEventArgs : EventArgs
95 private readonly SystemSettingsFontSize _fontSize;
96 internal FontSizeChangedEventArgs(SystemSettingsFontSize val)
102 /// The current system font size
104 public SystemSettingsFontSize Value
114 /// EventArgs type for the event FontTypeChanged
116 public class FontTypeChangedEventArgs : EventArgs
118 private readonly string _fontType = null;
119 internal FontTypeChangedEventArgs(string val)
125 /// The current system font type
137 /// EventArgs type for the event MotionActivationChanged
139 public class MotionActivationSettingChangedEventArgs : EventArgs
141 private readonly bool _motionActivation;
142 internal MotionActivationSettingChangedEventArgs(bool val)
144 _motionActivation = val;
148 /// Indicates whether the motion service is activated
154 return _motionActivation;
160 /// EventArgs type for the event EmailAlertRingtoneChanged
162 public class EmailAlertRingtoneChangedEventArgs : EventArgs
164 private readonly string _emailAlertRingtone = null;
165 internal EmailAlertRingtoneChangedEventArgs(string val)
167 _emailAlertRingtone = val;
171 /// The file path of the current email alert ringtone
177 return _emailAlertRingtone;
183 /// EventArgs type for the event UsbDebuggingSettingChanged
185 public class UsbDebuggingSettingChangedEventArgs : EventArgs
187 private readonly bool _usbDebuggingEnabled;
188 internal UsbDebuggingSettingChangedEventArgs(bool val)
190 _usbDebuggingEnabled = val;
194 /// Indicates whether the USB debugging is enabled
200 return _usbDebuggingEnabled;
206 /// EventArgs type for the event Data3GNetworkSettingChanged
208 public class Data3GNetworkSettingChangedEventArgs : EventArgs
210 private readonly bool _data3GNetworkEnabled;
211 internal Data3GNetworkSettingChangedEventArgs(bool val)
213 _data3GNetworkEnabled = val;
217 /// Indicates whether the 3G data network is enabled
223 return _data3GNetworkEnabled;
229 /// EventArgs type for the event LockscreenAppChanged
231 public class LockscreenAppChangedEventArgs : EventArgs
233 private readonly string _lockscreenApp = null;
234 internal LockscreenAppChangedEventArgs(string val)
236 _lockscreenApp = val;
240 /// Indicates lockscreen app pkg name
246 return _lockscreenApp;
252 /// EventArgs type for the event LocaleCountryChanged
254 public class LocaleCountryChangedEventArgs : EventArgs
256 private readonly string _localeCountry = null;
257 internal LocaleCountryChangedEventArgs(string val)
259 _localeCountry = val;
263 /// Indicates the current country setting in the \<LANGUAGE\>_\<REGION\> syntax.
264 /// The country setting is in the ISO 639-2 format, and the region setting is in the ISO 3166-1 alpha-2 format
270 return _localeCountry;
276 /// EventArgs type for the event LocaleLanguageChanged
278 public class LocaleLanguageChangedEventArgs : EventArgs
280 private readonly string _localeLanguage = null;
281 internal LocaleLanguageChangedEventArgs(string val)
283 _localeLanguage = val;
287 /// Indicates the current language setting in the \<LANGUAGE\>_\<REGION\> syntax.
288 /// The language setting is in the ISO 639-2 format and the region setting is in the ISO 3166-1 alpha-2 format
294 return _localeLanguage;
300 /// EventArgs type for the event LocaleTimeFormat24HourChanged
302 public class LocaleTimeFormat24HourSettingChangedEventArgs : EventArgs
304 private readonly bool _localeTimeFormat24Hour;
305 internal LocaleTimeFormat24HourSettingChangedEventArgs(bool val)
307 _localeTimeFormat24Hour = val;
311 /// Indicates whether the 24-hour clock is used. If the value is false, the 12-hour clock is used.
317 return _localeTimeFormat24Hour;
323 /// EventArgs type for the event LocaleTimeZoneChanged
325 public class LocaleTimeZoneChangedEventArgs : EventArgs
327 private readonly string _localeTimeZone = null;
328 internal LocaleTimeZoneChangedEventArgs(string val)
330 _localeTimeZone = val;
334 /// Indicates the current time zone
340 return _localeTimeZone;
346 /// EventArgs type for the event TimeChanged
348 public class TimeChangedEventArgs : EventArgs
350 internal TimeChangedEventArgs()
356 /// EventArgs type for the event SoundLockChanged
358 public class SoundLockSettingChangedEventArgs : EventArgs
360 private readonly bool _soundLock;
361 internal SoundLockSettingChangedEventArgs(bool val)
367 /// Indicates whether the screen lock sound is enabled on the device. ex) LCD on/off sound
379 /// EventArgs type for the event SoundSilentModeChanged
381 public class SoundSilentModeSettingChangedEventArgs : EventArgs
383 private readonly bool _soundSilentMode;
384 internal SoundSilentModeSettingChangedEventArgs(bool val)
386 _soundSilentMode = val;
390 /// Indicates whether the device is in the silent mode.
396 return _soundSilentMode;
402 /// EventArgs type for the event SoundTouchChanged
404 public class SoundTouchSettingChangedEventArgs : EventArgs
406 private readonly bool _soundTouch;
407 internal SoundTouchSettingChangedEventArgs(bool val)
413 /// Indicates whether the screen touch sound is enabled on the device.
425 /// EventArgs type for the event DisplayScreenRotationAutoChanged
427 public class DisplayScreenRotationAutoSettingChangedEventArgs : EventArgs
429 private readonly bool _displayScreenRotationAuto;
430 internal DisplayScreenRotationAutoSettingChangedEventArgs(bool val)
432 _displayScreenRotationAuto = val;
436 /// Indicates whether rotation control is automatic
442 return _displayScreenRotationAuto;
448 /// EventArgs type for the event DeviceNameChanged
450 public class DeviceNameChangedEventArgs : EventArgs
452 private readonly string _deviceName = null;
453 internal DeviceNameChangedEventArgs(string val)
459 /// Indicates device name
471 /// EventArgs type for the event MotionSettingChanged
473 public class MotionSettingChangedEventArgs : EventArgs
475 private readonly bool _motionEnabled;
476 internal MotionSettingChangedEventArgs(bool val)
478 _motionEnabled = val;
482 /// Indicates whether the device user has enabled motion feature
488 return _motionEnabled;
494 /// EventArgs type for the event NetworkWifiNotificationChanged
496 public class NetworkWifiNotificationSettingChangedEventArgs : EventArgs
498 private readonly bool _networkWifiNotification;
499 internal NetworkWifiNotificationSettingChangedEventArgs(bool val)
501 _networkWifiNotification = val;
505 /// Indicates whether Wi-Fi-related notifications are enabled on the device
511 return _networkWifiNotification;
517 /// EventArgs type for the event NetworkFlightModeChanged
519 public class NetworkFlightModeSettingChangedEventArgs : EventArgs
521 private readonly bool _networkFlightMode;
522 internal NetworkFlightModeSettingChangedEventArgs(bool val)
524 _networkFlightMode = val;
528 /// Indicates whether the device is in the flight mode
534 return _networkFlightMode;
540 /// EventArgs type for the event ScreenBacklightTimeChanged
542 public class ScreenBacklightTimeChangedEventArgs : EventArgs
544 private readonly int _screenBacklightTime;
545 internal ScreenBacklightTimeChangedEventArgs(int val)
547 _screenBacklightTime = val;
551 /// Indicates the backlight time (in seconds)
557 return _screenBacklightTime;
563 /// EventArgs type for the event SoundNotificationChanged
565 public class SoundNotificationChangedEventArgs : EventArgs
567 private readonly string _soundNotification = null;
568 internal SoundNotificationChangedEventArgs(string val)
570 _soundNotification = val;
574 /// Indicates the file path of the current notification tone set by the user
580 return _soundNotification;
586 /// EventArgs type for the event SoundNotificationRepetitionPeriodChanged
588 public class SoundNotificationRepetitionPeriodChangedEventArgs : EventArgs
590 private readonly int _soundNotificationRepetitionPeriod;
591 internal SoundNotificationRepetitionPeriodChangedEventArgs(int val)
593 _soundNotificationRepetitionPeriod = val;
597 /// Indicates the time period for notification repetitions
603 return _soundNotificationRepetitionPeriod;
609 /// EventArgs type for the event LockStateChanged
611 public class LockStateChangedEventArgs : EventArgs
613 private readonly SystemSettingsIdleLockState _lockState;
614 internal LockStateChangedEventArgs(SystemSettingsIdleLockState val)
620 /// Indicates the current lock state
622 public SystemSettingsIdleLockState Value
632 /// EventArgs type for the event AdsIdChanged
634 public class AdsIdChangedEventArgs : EventArgs
636 private readonly string _adsId = null;
637 internal AdsIdChangedEventArgs(string val)
643 /// Indicates the current lock state
655 /// EventArgs type for the event UltraDataSaveChanged
657 public class UltraDataSaveChangedEventArgs : EventArgs
659 private readonly SystemSettingsUdsState _ultraDataSave = SystemSettingsUdsState.UdsOff;
660 internal UltraDataSaveChangedEventArgs(SystemSettingsUdsState val)
662 _ultraDataSave = val;
666 /// Indicates the current lock state
668 public SystemSettingsUdsState Value
672 return _ultraDataSave;
678 /// EventArgs type for the event UltraDataSavePackageListChanged
680 public class UltraDataSavePackageListChangedEventArgs : EventArgs
682 private readonly string _ultraDataSavePackageList = null;
683 internal UltraDataSavePackageListChangedEventArgs(string val)
685 _ultraDataSavePackageList = val;
689 /// Indicates the current lock state
695 return _ultraDataSavePackageList;