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 private readonly int _time;
351 internal TimeChangedEventArgs(int val)
365 /// EventArgs type for the event SoundLockChanged
367 public class SoundLockSettingChangedEventArgs : EventArgs
369 private readonly bool _soundLock;
370 internal SoundLockSettingChangedEventArgs(bool val)
376 /// Indicates whether the screen lock sound is enabled on the device. ex) LCD on/off sound
388 /// EventArgs type for the event SoundSilentModeChanged
390 public class SoundSilentModeSettingChangedEventArgs : EventArgs
392 private readonly bool _soundSilentMode;
393 internal SoundSilentModeSettingChangedEventArgs(bool val)
395 _soundSilentMode = val;
399 /// Indicates whether the device is in the silent mode.
405 return _soundSilentMode;
411 /// EventArgs type for the event SoundTouchChanged
413 public class SoundTouchSettingChangedEventArgs : EventArgs
415 private readonly bool _soundTouch;
416 internal SoundTouchSettingChangedEventArgs(bool val)
422 /// Indicates whether the screen touch sound is enabled on the device.
434 /// EventArgs type for the event DisplayScreenRotationAutoChanged
436 public class DisplayScreenRotationAutoSettingChangedEventArgs : EventArgs
438 private readonly bool _displayScreenRotationAuto;
439 internal DisplayScreenRotationAutoSettingChangedEventArgs(bool val)
441 _displayScreenRotationAuto = val;
445 /// Indicates whether rotation control is automatic
451 return _displayScreenRotationAuto;
457 /// EventArgs type for the event DeviceNameChanged
459 public class DeviceNameChangedEventArgs : EventArgs
461 private readonly string _deviceName = null;
462 internal DeviceNameChangedEventArgs(string val)
468 /// Indicates device name
480 /// EventArgs type for the event MotionSettingChanged
482 public class MotionSettingChangedEventArgs : EventArgs
484 private readonly bool _motionEnabled;
485 internal MotionSettingChangedEventArgs(bool val)
487 _motionEnabled = val;
491 /// Indicates whether the device user has enabled motion feature
497 return _motionEnabled;
503 /// EventArgs type for the event NetworkWifiNotificationChanged
505 public class NetworkWifiNotificationSettingChangedEventArgs : EventArgs
507 private readonly bool _networkWifiNotification;
508 internal NetworkWifiNotificationSettingChangedEventArgs(bool val)
510 _networkWifiNotification = val;
514 /// Indicates whether Wi-Fi-related notifications are enabled on the device
520 return _networkWifiNotification;
526 /// EventArgs type for the event NetworkFlightModeChanged
528 public class NetworkFlightModeSettingChangedEventArgs : EventArgs
530 private readonly bool _networkFlightMode;
531 internal NetworkFlightModeSettingChangedEventArgs(bool val)
533 _networkFlightMode = val;
537 /// Indicates whether the device is in the flight mode
543 return _networkFlightMode;
549 /// EventArgs type for the event ScreenBacklightTimeChanged
551 public class ScreenBacklightTimeChangedEventArgs : EventArgs
553 private readonly int _screenBacklightTime;
554 internal ScreenBacklightTimeChangedEventArgs(int val)
556 _screenBacklightTime = val;
560 /// Indicates the backlight time (in seconds)
566 return _screenBacklightTime;
572 /// EventArgs type for the event SoundNotificationChanged
574 public class SoundNotificationChangedEventArgs : EventArgs
576 private readonly string _soundNotification = null;
577 internal SoundNotificationChangedEventArgs(string val)
579 _soundNotification = val;
583 /// Indicates the file path of the current notification tone set by the user
589 return _soundNotification;
595 /// EventArgs type for the event SoundNotificationRepetitionPeriodChanged
597 public class SoundNotificationRepetitionPeriodChangedEventArgs : EventArgs
599 private readonly int _soundNotificationRepetitionPeriod;
600 internal SoundNotificationRepetitionPeriodChangedEventArgs(int val)
602 _soundNotificationRepetitionPeriod = val;
606 /// Indicates the time period for notification repetitions
612 return _soundNotificationRepetitionPeriod;
618 /// EventArgs type for the event LockStateChanged
620 public class LockStateChangedEventArgs : EventArgs
622 private readonly SystemSettingsIdleLockState _lockState;
623 internal LockStateChangedEventArgs(SystemSettingsIdleLockState val)
629 /// Indicates the current lock state
631 public SystemSettingsIdleLockState Value
641 /// EventArgs type for the event AdsIdChanged
643 public class AdsIdChangedEventArgs : EventArgs
645 private readonly string _adsId = null;
646 internal AdsIdChangedEventArgs(string val)
652 /// Indicates the current lock state
664 /// EventArgs type for the event UltraDataSaveChanged
666 public class UltraDataSaveChangedEventArgs : EventArgs
668 private readonly SystemSettingsUdsState _ultraDataSave = SystemSettingsUdsState.UdsOff;
669 internal UltraDataSaveChangedEventArgs(SystemSettingsUdsState val)
671 _ultraDataSave = val;
675 /// Indicates the current lock state
677 public SystemSettingsUdsState Value
681 return _ultraDataSave;
687 /// EventArgs type for the event UltraDataSavePackageListChanged
689 public class UltraDataSavePackageListChangedEventArgs : EventArgs
691 private readonly string _ultraDataSavePackageList = null;
692 internal UltraDataSavePackageListChangedEventArgs(string val)
694 _ultraDataSavePackageList = val;
698 /// Indicates the current lock state
704 return _ultraDataSavePackageList;