X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2FTizen.System.SystemSettings%2FTizen.System.SystemSettings%2FSystemSettingsEventArgs.cs;h=3015510559bb402c785bd1dac4e68bd6f92db177;hb=0c21a6d228a5d9eafc29823dfa8ef2179528a72c;hp=ff91fc9093e4f65bf1467417c2069d91e4426142;hpb=e0ad1480756583910ee172199f90bcc9fb4c8d86;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git diff --git a/src/Tizen.System.SystemSettings/Tizen.System.SystemSettings/SystemSettingsEventArgs.cs b/src/Tizen.System.SystemSettings/Tizen.System.SystemSettings/SystemSettingsEventArgs.cs index ff91fc9..3015510 100755 --- a/src/Tizen.System.SystemSettings/Tizen.System.SystemSettings/SystemSettingsEventArgs.cs +++ b/src/Tizen.System.SystemSettings/Tizen.System.SystemSettings/SystemSettingsEventArgs.cs @@ -1021,4 +1021,100 @@ namespace Tizen.System } } + + /// + /// EventArgs type for the VibrationChanged event. + /// + /// http://tizen.org/privilege/systemsettings.admin + /// platform + /// http://tizen.org/feature/systemsetting + /// Invalid Argument + /// Not Supported feature + /// Invalid operation + /// Thrown when application does not have privilege to access this method. + /// 5 + public class VibrationChangedEventArgs : EventArgs + { + private readonly bool _vibration; + internal VibrationChangedEventArgs(bool val) + { + _vibration = val; + } + + /// + /// Indicates whether the vibration is enabled on the device. + /// + /// 5 + public bool Value + { + get + { + return _vibration; + } + } + } + + /// + /// EventArgs type for the AutomaticTimeUpdateChanged event. + /// + /// http://tizen.org/privilege/systemsettings.admin + /// platform + /// http://tizen.org/feature/systemsetting + /// Invalid Argument + /// Not Supported feature + /// Invalid operation + /// Thrown when application does not have privilege to access this method. + /// 5 + public class AutomaticTimeUpdateChangedEventArgs : EventArgs + { + private readonly bool _automaticTimeUpdate; + internal AutomaticTimeUpdateChangedEventArgs(bool val) + { + _automaticTimeUpdate = val; + } + + /// + /// Indicates whether the updating time automatically is enabled on the device. + /// + /// 5 + public bool Value + { + get + { + return _automaticTimeUpdate; + } + } + } + + /// + /// EventArgs type for the DeveloperOptionStateChanged event. + /// + /// http://tizen.org/privilege/systemsettings.admin + /// platform + /// http://tizen.org/feature/systemsetting + /// Invalid Argument + /// Not Supported feature + /// Invalid operation + /// Thrown when application does not have privilege to access this method. + /// 5 + public class DeveloperOptionStateChangedEventArgs : EventArgs + { + private readonly bool _developerOptionState; + internal DeveloperOptionStateChangedEventArgs(bool val) + { + _developerOptionState = val; + } + + /// + /// Indicates whether developer option state is enabled on the device. + /// + /// 5 + public bool Value + { + get + { + return _developerOptionState; + } + } + } }