/*
* Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the License);
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an AS IS BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
using System;
namespace Tizen.System
{
///
/// EventArgs type for the event IncomingCallRingtoneChanged
///
public class IncomingCallRingtoneChangedEventArgs : EventArgs
{
private readonly string _incomingCallRingtone = null;
internal IncomingCallRingtoneChangedEventArgs(string val)
{
_incomingCallRingtone = val;
}
///
/// The file path of the current ringtone
///
public string Value
{
get
{
return _incomingCallRingtone;
}
}
}
///
/// EventArgs type for the event WallpaperHomeScreenChanged
///
public class WallpaperHomeScreenChangedEventArgs : EventArgs
{
private readonly string _wallpaperHomeScreen = null;
internal WallpaperHomeScreenChangedEventArgs(string val)
{
_wallpaperHomeScreen = val;
}
///
/// The file path of the current home screen wallpaper
///
public string Value
{
get
{
return _wallpaperHomeScreen;
}
}
}
///
/// EventArgs type for the event WallpaperLockScreenChanged
///
public class WallpaperLockScreenChangedEventArgs : EventArgs
{
private readonly string _wallpaperLockScreen = null;
internal WallpaperLockScreenChangedEventArgs(string val)
{
_wallpaperLockScreen = val;
}
///
/// The file path of the current lock screen wallpaper
///
public string Value
{
get
{
return _wallpaperLockScreen;
}
}
}
///
/// EventArgs type for the event FontSizeChanged
///
public class FontSizeChangedEventArgs : EventArgs
{
private readonly SystemSettingsFontSize _fontSize;
internal FontSizeChangedEventArgs(SystemSettingsFontSize val)
{
_fontSize = val;
}
///
/// The current system font size
///
public SystemSettingsFontSize Value
{
get
{
return _fontSize;
}
}
}
///
/// EventArgs type for the event FontTypeChanged
///
public class FontTypeChangedEventArgs : EventArgs
{
private readonly string _fontType = null;
internal FontTypeChangedEventArgs(string val)
{
_fontType = val;
}
///
/// The current system font type
///
public string Value
{
get
{
return _fontType;
}
}
}
///
/// EventArgs type for the event MotionActivationChanged
///
public class MotionActivationSettingChangedEventArgs : EventArgs
{
private readonly bool _motionActivation;
internal MotionActivationSettingChangedEventArgs(bool val)
{
_motionActivation = val;
}
///
/// Indicates whether the motion service is activated
///
public bool Value
{
get
{
return _motionActivation;
}
}
}
///
/// EventArgs type for the event EmailAlertRingtoneChanged
///
public class EmailAlertRingtoneChangedEventArgs : EventArgs
{
private readonly string _emailAlertRingtone = null;
internal EmailAlertRingtoneChangedEventArgs(string val)
{
_emailAlertRingtone = val;
}
///
/// The file path of the current email alert ringtone
///
public string Value
{
get
{
return _emailAlertRingtone;
}
}
}
///
/// EventArgs type for the event UsbDebuggingSettingChanged
///
public class UsbDebuggingSettingChangedEventArgs : EventArgs
{
private readonly bool _usbDebuggingEnabled;
internal UsbDebuggingSettingChangedEventArgs(bool val)
{
_usbDebuggingEnabled = val;
}
///
/// Indicates whether the USB debugging is enabled
///
public bool Value
{
get
{
return _usbDebuggingEnabled;
}
}
}
///
/// EventArgs type for the event Data3GNetworkSettingChanged
///
public class Data3GNetworkSettingChangedEventArgs : EventArgs
{
private readonly bool _data3GNetworkEnabled;
internal Data3GNetworkSettingChangedEventArgs(bool val)
{
_data3GNetworkEnabled = val;
}
///
/// Indicates whether the 3G data network is enabled
///
public bool Value
{
get
{
return _data3GNetworkEnabled;
}
}
}
///
/// EventArgs type for the event LockscreenAppChanged
///
public class LockscreenAppChangedEventArgs : EventArgs
{
private readonly string _lockscreenApp = null;
internal LockscreenAppChangedEventArgs(string val)
{
_lockscreenApp = val;
}
///
/// Indicates lockscreen app pkg name
///
public string Value
{
get
{
return _lockscreenApp;
}
}
}
///
/// EventArgs type for the event LocaleCountryChanged
///
public class LocaleCountryChangedEventArgs : EventArgs
{
private readonly string _localeCountry = null;
internal LocaleCountryChangedEventArgs(string val)
{
_localeCountry = val;
}
///
/// Indicates the current country setting in the \_\ syntax.
/// The country setting is in the ISO 639-2 format, and the region setting is in the ISO 3166-1 alpha-2 format
///
public string Value
{
get
{
return _localeCountry;
}
}
}
///
/// EventArgs type for the event LocaleLanguageChanged
///
public class LocaleLanguageChangedEventArgs : EventArgs
{
private readonly string _localeLanguage = null;
internal LocaleLanguageChangedEventArgs(string val)
{
_localeLanguage = val;
}
///
/// Indicates the current language setting in the \_\ syntax.
/// The language setting is in the ISO 639-2 format and the region setting is in the ISO 3166-1 alpha-2 format
///
public string Value
{
get
{
return _localeLanguage;
}
}
}
///
/// EventArgs type for the event LocaleTimeFormat24HourChanged
///
public class LocaleTimeFormat24HourSettingChangedEventArgs : EventArgs
{
private readonly bool _localeTimeFormat24Hour;
internal LocaleTimeFormat24HourSettingChangedEventArgs(bool val)
{
_localeTimeFormat24Hour = val;
}
///
/// Indicates whether the 24-hour clock is used. If the value is false, the 12-hour clock is used.
///
public bool Value
{
get
{
return _localeTimeFormat24Hour;
}
}
}
///
/// EventArgs type for the event LocaleTimeZoneChanged
///
public class LocaleTimeZoneChangedEventArgs : EventArgs
{
private readonly string _localeTimeZone = null;
internal LocaleTimeZoneChangedEventArgs(string val)
{
_localeTimeZone = val;
}
///
/// Indicates the current time zone
///
public string Value
{
get
{
return _localeTimeZone;
}
}
}
///
/// EventArgs type for the event TimeChanged
///
public class TimeChangedEventArgs : EventArgs
{
private readonly int _time;
internal TimeChangedEventArgs(int val)
{
_time = val;
}
///
/// Indicates the current time
///
public int Value
{
get
{
return _time;
}
}
}
///
/// EventArgs type for the event SoundLockChanged
///
public class SoundLockSettingChangedEventArgs : EventArgs
{
private readonly bool _soundLock;
internal SoundLockSettingChangedEventArgs(bool val)
{
_soundLock = val;
}
///
/// Indicates whether the screen lock sound is enabled on the device. ex) LCD on/off sound
///
public bool Value
{
get
{
return _soundLock;
}
}
}
///
/// EventArgs type for the event SoundSilentModeChanged
///
public class SoundSilentModeSettingChangedEventArgs : EventArgs
{
private readonly bool _soundSilentMode;
internal SoundSilentModeSettingChangedEventArgs(bool val)
{
_soundSilentMode = val;
}
///
/// Indicates whether the device is in the silent mode.
///
public bool Value
{
get
{
return _soundSilentMode;
}
}
}
///
/// EventArgs type for the event SoundTouchChanged
///
public class SoundTouchSettingChangedEventArgs : EventArgs
{
private readonly bool _soundTouch;
internal SoundTouchSettingChangedEventArgs(bool val)
{
_soundTouch = val;
}
///
/// Indicates whether the screen touch sound is enabled on the device.
///
public bool Value
{
get
{
return _soundTouch;
}
}
}
///
/// EventArgs type for the event DisplayScreenRotationAutoChanged
///
public class DisplayScreenRotationAutoSettingChangedEventArgs : EventArgs
{
private readonly bool _displayScreenRotationAuto;
internal DisplayScreenRotationAutoSettingChangedEventArgs(bool val)
{
_displayScreenRotationAuto = val;
}
///
/// Indicates whether rotation control is automatic
///
public bool Value
{
get
{
return _displayScreenRotationAuto;
}
}
}
///
/// EventArgs type for the event DeviceNameChanged
///
public class DeviceNameChangedEventArgs : EventArgs
{
private readonly string _deviceName = null;
internal DeviceNameChangedEventArgs(string val)
{
_deviceName = val;
}
///
/// Indicates device name
///
public string Value
{
get
{
return _deviceName;
}
}
}
///
/// EventArgs type for the event MotionSettingChanged
///
public class MotionSettingChangedEventArgs : EventArgs
{
private readonly bool _motionEnabled;
internal MotionSettingChangedEventArgs(bool val)
{
_motionEnabled = val;
}
///
/// Indicates whether the device user has enabled motion feature
///
public bool Value
{
get
{
return _motionEnabled;
}
}
}
///
/// EventArgs type for the event NetworkWifiNotificationChanged
///
public class NetworkWifiNotificationSettingChangedEventArgs : EventArgs
{
private readonly bool _networkWifiNotification;
internal NetworkWifiNotificationSettingChangedEventArgs(bool val)
{
_networkWifiNotification = val;
}
///
/// Indicates whether Wi-Fi-related notifications are enabled on the device
///
public bool Value
{
get
{
return _networkWifiNotification;
}
}
}
///
/// EventArgs type for the event NetworkFlightModeChanged
///
public class NetworkFlightModeSettingChangedEventArgs : EventArgs
{
private readonly bool _networkFlightMode;
internal NetworkFlightModeSettingChangedEventArgs(bool val)
{
_networkFlightMode = val;
}
///
/// Indicates whether the device is in the flight mode
///
public bool Value
{
get
{
return _networkFlightMode;
}
}
}
///
/// EventArgs type for the event ScreenBacklightTimeChanged
///
public class ScreenBacklightTimeChangedEventArgs : EventArgs
{
private readonly int _screenBacklightTime;
internal ScreenBacklightTimeChangedEventArgs(int val)
{
_screenBacklightTime = val;
}
///
/// Indicates the backlight time (in seconds)
///
public int Value
{
get
{
return _screenBacklightTime;
}
}
}
///
/// EventArgs type for the event SoundNotificationChanged
///
public class SoundNotificationChangedEventArgs : EventArgs
{
private readonly string _soundNotification = null;
internal SoundNotificationChangedEventArgs(string val)
{
_soundNotification = val;
}
///
/// Indicates the file path of the current notification tone set by the user
///
public string Value
{
get
{
return _soundNotification;
}
}
}
///
/// EventArgs type for the event SoundNotificationRepetitionPeriodChanged
///
public class SoundNotificationRepetitionPeriodChangedEventArgs : EventArgs
{
private readonly int _soundNotificationRepetitionPeriod;
internal SoundNotificationRepetitionPeriodChangedEventArgs(int val)
{
_soundNotificationRepetitionPeriod = val;
}
///
/// Indicates the time period for notification repetitions
///
public int Value
{
get
{
return _soundNotificationRepetitionPeriod;
}
}
}
///
/// EventArgs type for the event LockStateChanged
///
public class LockStateChangedEventArgs : EventArgs
{
private readonly SystemSettingsIdleLockState _lockState;
internal LockStateChangedEventArgs(SystemSettingsIdleLockState val)
{
_lockState = val;
}
///
/// Indicates the current lock state
///
public SystemSettingsIdleLockState Value
{
get
{
return _lockState;
}
}
}
///
/// EventArgs type for the event AdsIdChanged
///
public class AdsIdChangedEventArgs : EventArgs
{
private readonly string _adsId = null;
internal AdsIdChangedEventArgs(string val)
{
_adsId = val;
}
///
/// Indicates the current lock state
///
public string Value
{
get
{
return _adsId;
}
}
}
///
/// EventArgs type for the event UltraDataSaveChanged
///
public class UltraDataSaveChangedEventArgs : EventArgs
{
private readonly SystemSettingsUdsState _ultraDataSave = SystemSettingsUdsState.UdsOff;
internal UltraDataSaveChangedEventArgs(SystemSettingsUdsState val)
{
_ultraDataSave = val;
}
///
/// Indicates the current lock state
///
public SystemSettingsUdsState Value
{
get
{
return _ultraDataSave;
}
}
}
///
/// EventArgs type for the event UltraDataSavePackageListChanged
///
public class UltraDataSavePackageListChangedEventArgs : EventArgs
{
private readonly string _ultraDataSavePackageList = null;
internal UltraDataSavePackageListChangedEventArgs(string val)
{
_ultraDataSavePackageList = val;
}
///
/// Indicates the current lock state
///
public string Value
{
get
{
return _ultraDataSavePackageList;
}
}
}
}