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 IncomingCallRingtoneChanged event.
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 WallpaperHomeScreenChanged event.
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 WallpaperLockScreenChanged event.
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 FontSizeChanged event.
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 FontTypeChanged event.
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 MotionActivationChanged event.
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 EmailAlertRingtoneChanged event.
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 UsbDebuggingSettingChanged event.
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 Data3GNetworkSettingChanged event.
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 LockscreenAppChanged event.
231 public class LockscreenAppChangedEventArgs : EventArgs
233 private readonly string _lockscreenApp = null;
234 internal LockscreenAppChangedEventArgs(string val)
236 _lockscreenApp = val;
240 /// Indicates the lock screen application package name.
246 return _lockscreenApp;
252 /// EventArgs type for the LocaleCountryChanged event.
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 LocaleLanguageChanged event.
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 LocaleTimeFormat24HourChanged event.
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 LocaleTimeZoneChanged event.
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 TimeChanged event.
348 public class TimeChangedEventArgs : EventArgs
350 private readonly int _time;
351 internal TimeChangedEventArgs(int val)
357 /// Indicates the current time.
369 /// EventArgs type for the SoundLockChanged event.
371 public class SoundLockSettingChangedEventArgs : EventArgs
373 private readonly bool _soundLock;
374 internal SoundLockSettingChangedEventArgs(bool val)
380 /// Indicates whether the screen lock sound is enabled on the device, for example, the LCD on or off sound.
392 /// EventArgs type for the SoundSilentModeChanged event.
394 public class SoundSilentModeSettingChangedEventArgs : EventArgs
396 private readonly bool _soundSilentMode;
397 internal SoundSilentModeSettingChangedEventArgs(bool val)
399 _soundSilentMode = val;
403 /// Indicates whether the device is in the silent mode.
409 return _soundSilentMode;
415 /// EventArgs type for the SoundTouchChanged event.
417 public class SoundTouchSettingChangedEventArgs : EventArgs
419 private readonly bool _soundTouch;
420 internal SoundTouchSettingChangedEventArgs(bool val)
426 /// Indicates whether the screen touch sound is enabled on the device.
438 /// EventArgs type for the DisplayScreenRotationAutoChanged event.
440 public class DisplayScreenRotationAutoSettingChangedEventArgs : EventArgs
442 private readonly bool _displayScreenRotationAuto;
443 internal DisplayScreenRotationAutoSettingChangedEventArgs(bool val)
445 _displayScreenRotationAuto = val;
449 /// Indicates whether the rotation control is automatic.
455 return _displayScreenRotationAuto;
461 /// EventArgs type for the DeviceNameChanged event.
463 public class DeviceNameChangedEventArgs : EventArgs
465 private readonly string _deviceName = null;
466 internal DeviceNameChangedEventArgs(string val)
472 /// Indicates the device name.
484 /// EventArgs type for the MotionSettingChanged event.
486 public class MotionSettingChangedEventArgs : EventArgs
488 private readonly bool _motionEnabled;
489 internal MotionSettingChangedEventArgs(bool val)
491 _motionEnabled = val;
495 /// Indicates whether the device user has enabled the motion feature.
501 return _motionEnabled;
507 /// EventArgs type for the NetworkWifiNotificationChanged event.
509 public class NetworkWifiNotificationSettingChangedEventArgs : EventArgs
511 private readonly bool _networkWifiNotification;
512 internal NetworkWifiNotificationSettingChangedEventArgs(bool val)
514 _networkWifiNotification = val;
518 /// Indicates whether Wi-Fi-related notifications are enabled on the device.
524 return _networkWifiNotification;
530 /// EventArgs type for the NetworkFlightModeChanged event.
532 public class NetworkFlightModeSettingChangedEventArgs : EventArgs
534 private readonly bool _networkFlightMode;
535 internal NetworkFlightModeSettingChangedEventArgs(bool val)
537 _networkFlightMode = val;
541 /// Indicates whether the device is in the flight mode.
547 return _networkFlightMode;
553 /// EventArgs type for the ScreenBacklightTimeChanged event.
555 public class ScreenBacklightTimeChangedEventArgs : EventArgs
557 private readonly int _screenBacklightTime;
558 internal ScreenBacklightTimeChangedEventArgs(int val)
560 _screenBacklightTime = val;
564 /// Indicates the backlight time (in seconds).
570 return _screenBacklightTime;
576 /// EventArgs type for the SoundNotificationChanged event.
578 public class SoundNotificationChangedEventArgs : EventArgs
580 private readonly string _soundNotification = null;
581 internal SoundNotificationChangedEventArgs(string val)
583 _soundNotification = val;
587 /// Indicates the file path of the current notification tone set by the user.
593 return _soundNotification;
599 /// EventArgs type for the SoundNotificationRepetitionPeriodChanged event.
601 public class SoundNotificationRepetitionPeriodChangedEventArgs : EventArgs
603 private readonly int _soundNotificationRepetitionPeriod;
604 internal SoundNotificationRepetitionPeriodChangedEventArgs(int val)
606 _soundNotificationRepetitionPeriod = val;
610 /// Indicates the time period for notification repetitions.
616 return _soundNotificationRepetitionPeriod;
622 /// EventArgs type for the LockStateChanged event.
624 public class LockStateChangedEventArgs : EventArgs
626 private readonly SystemSettingsIdleLockState _lockState;
627 internal LockStateChangedEventArgs(SystemSettingsIdleLockState val)
633 /// Indicates the current lock state.
635 public SystemSettingsIdleLockState Value
645 /// EventArgs type for the AdsIdChanged event.
647 public class AdsIdChangedEventArgs : EventArgs
649 private readonly string _adsId = null;
650 internal AdsIdChangedEventArgs(string val)
656 /// Indicates the current lock state.
668 /// EventArgs type for the UltraDataSaveChanged event.
670 public class UltraDataSaveChangedEventArgs : EventArgs
672 private readonly SystemSettingsUdsState _ultraDataSave = SystemSettingsUdsState.UdsOff;
673 internal UltraDataSaveChangedEventArgs(SystemSettingsUdsState val)
675 _ultraDataSave = val;
679 /// Indicates the current lock state.
681 public SystemSettingsUdsState Value
685 return _ultraDataSave;
691 /// EventArgs type for the UltraDataSavePackageListChanged event.
693 public class UltraDataSavePackageListChangedEventArgs : EventArgs
695 private readonly string _ultraDataSavePackageList = null;
696 internal UltraDataSavePackageListChangedEventArgs(string val)
698 _ultraDataSavePackageList = val;
702 /// Indicates the current lock state.
708 return _ultraDataSavePackageList;