/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <feature>http://tizen.org/feature/systemsetting.incoming_call</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static string IncomingCallRingtone
{
get
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <feature>http://tizen.org/feature/systemsetting.home_screen</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static string WallpaperHomeScreen
{
get
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <feature>http://tizen.org/feature/systemsetting.lock_screen</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static string WallpaperLockScreen
{
get
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static SystemSettingsFontSize FontSize
{
get
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static string FontType
{
get
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static bool MotionActivationEnabled
{
get
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <feature>http://tizen.org/feature/systemsetting.notification_email</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static string EmailAlertRingtone
{
get
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static bool UsbDebuggingEnabled
{
get
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static bool Data3GNetworkEnabled
{
get
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
- public static string LockscreenApp
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <feature>http://tizen.org/feature/systemsetting.lock_screen</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
+ public static string LockScreenApp
{
get
{
string pkgName;
- SystemSettingsError res = (SystemSettingsError)Interop.Settings.SystemSettingsGetValueString(SystemSettingsKeys.LockscreenApp, out pkgName);
+ SystemSettingsError res = (SystemSettingsError)Interop.Settings.SystemSettingsGetValueString(SystemSettingsKeys.LockScreenApp, out pkgName);
if (res != SystemSettingsError.None)
{
- throw SystemSettingsExceptionFactory.CreateException(res, "unable to get LockscreenApp system setting.");
+ throw SystemSettingsExceptionFactory.CreateException(res, "unable to get LockScreenApp system setting.");
}
return pkgName;
}
set
{
- SystemSettingsError res = (SystemSettingsError)Interop.Settings.SystemSettingsSetValueString(SystemSettingsKeys.LockscreenApp, value);
+ SystemSettingsError res = (SystemSettingsError)Interop.Settings.SystemSettingsSetValueString(SystemSettingsKeys.LockScreenApp, value);
if (res != SystemSettingsError.None)
{
- throw SystemSettingsExceptionFactory.CreateException(res, "unable to set LockscreenApp system setting.");
+ throw SystemSettingsExceptionFactory.CreateException(res, "unable to set LockScreenApp system setting.");
}
}
}
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static string DefaultFontType
{
get
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static string LocaleCountry
{
get
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static string LocaleLanguage
{
get
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static bool LocaleTimeFormat24HourEnabled
{
get
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static string LocaleTimeZone
{
get
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static int Time
{
get
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static bool SoundLockEnabled
{
get
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static bool SoundSilentModeEnabled
{
get
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static bool SoundTouchEnabled
{
get
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static bool DisplayScreenRotationAutoEnabled
{
get
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static string DeviceName
{
get
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static bool MotionEnabled
{
get
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <feature>http://tizen.org/feature/network.wifi</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static bool NetworkWifiNotificationEnabled
{
get
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static bool NetworkFlightModeEnabled
{
get
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static int ScreenBacklightTime
{
get
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <feature>http://tizen.org/feature/systemsetting.incoming_call</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static string SoundNotification
{
get
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static int SoundNotificationRepetitionPeriod
{
get
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static SystemSettingsIdleLockState LockState
{
get
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static string AdsId
{
get
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <feature>http://tizen.org/feature/network.telephony</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static SystemSettingsUdsState UltraDataSave
{
get
}
}
+ /// <summary>
+ /// Indicates whether the accessibility TTS is enabled on the device.
+ /// </summary>
+ /// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
+ /// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
+ public static bool AccessibilityTtsEnabled
+ {
+ get
+ {
+ bool isAccessibilityTTSEnabled;
+ SystemSettingsError res = (SystemSettingsError)Interop.Settings.SystemSettingsGetValueBool(SystemSettingsKeys.AccessibilityTtsEnabled, out isAccessibilityTTSEnabled);
+ if (res != SystemSettingsError.None)
+ {
+ throw SystemSettingsExceptionFactory.CreateException(res, "unable to get AccessibilityTTS system setting value.");
+ }
+ return isAccessibilityTTSEnabled;
+ }
+ }
private static readonly Interop.Settings.SystemSettingsChangedCallback s_incomingCallRingtoneChangedCallback = (SystemSettingsKeys key, IntPtr userData) =>
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <feature>http://tizen.org/feature/systemsetting.incoming_call</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static event EventHandler<IncomingCallRingtoneChangedEventArgs> IncomingCallRingtoneChanged
{
add
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <feature>http://tizen.org/feature/systemsetting.home_screen</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static event EventHandler<WallpaperHomeScreenChangedEventArgs> WallpaperHomeScreenChanged
{
add
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <feature>http://tizen.org/feature/systemsetting.lock_screen</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static event EventHandler<WallpaperLockScreenChangedEventArgs> WallpaperLockScreenChanged
{
add
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static event EventHandler<FontSizeChangedEventArgs> FontSizeChanged
{
add
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static event EventHandler<FontTypeChangedEventArgs> FontTypeChanged
{
add
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static event EventHandler<MotionActivationSettingChangedEventArgs> MotionActivationSettingChanged
{
add
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <feature>http://tizen.org/feature/systemsetting.notification_email</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static event EventHandler<EmailAlertRingtoneChangedEventArgs> EmailAlertRingtoneChanged
{
add
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static event EventHandler<UsbDebuggingSettingChangedEventArgs> UsbDebuggingSettingChanged
{
add
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static event EventHandler<Data3GNetworkSettingChangedEventArgs> Data3GNetworkSettingChanged
{
add
private static readonly Interop.Settings.SystemSettingsChangedCallback s_lockscreenAppChangedCallback = (SystemSettingsKeys key, IntPtr userData) =>
{
- string lockScreenApp = SystemSettings.LockscreenApp;
- LockscreenAppChangedEventArgs eventArgs = new LockscreenAppChangedEventArgs(lockScreenApp);
+ string lockScreenApp = SystemSettings.LockScreenApp;
+ LockScreenAppChangedEventArgs eventArgs = new LockScreenAppChangedEventArgs(lockScreenApp);
s_lockscreenAppChanged?.Invoke(null, eventArgs);
};
- private static event EventHandler<LockscreenAppChangedEventArgs> s_lockscreenAppChanged;
+ private static event EventHandler<LockScreenAppChangedEventArgs> s_lockscreenAppChanged;
/// <summary>
- /// The LockscreenAppChanged event is triggered when the lockscreen application package name is changed.
+ /// The LockScreenAppChanged event is triggered when the lockscreen application package name is changed.
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
- public static event EventHandler<LockscreenAppChangedEventArgs> LockscreenAppChanged
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <feature>http://tizen.org/feature/systemsetting.lock_screen</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
+ public static event EventHandler<LockScreenAppChangedEventArgs> LockScreenAppChanged
{
add
{
if (s_lockscreenAppChanged == null)
{
- SystemSettingsError ret = (SystemSettingsError)Interop.Settings.SystemSettingsSetCallback(SystemSettingsKeys.LockscreenApp, s_lockscreenAppChangedCallback, IntPtr.Zero);
+ SystemSettingsError ret = (SystemSettingsError)Interop.Settings.SystemSettingsSetCallback(SystemSettingsKeys.LockScreenApp, s_lockscreenAppChangedCallback, IntPtr.Zero);
if (ret != SystemSettingsError.None)
{
throw SystemSettingsExceptionFactory.CreateException(ret, "Error in callback handling");
s_lockscreenAppChanged -= value;
if (s_lockscreenAppChanged == null)
{
- SystemSettingsError ret = (SystemSettingsError)Interop.Settings.SystemSettingsRemoveCallback(SystemSettingsKeys.LockscreenApp);
+ SystemSettingsError ret = (SystemSettingsError)Interop.Settings.SystemSettingsRemoveCallback(SystemSettingsKeys.LockScreenApp);
if (ret != SystemSettingsError.None)
{
throw SystemSettingsExceptionFactory.CreateException(ret, "Error in callback handling");
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static event EventHandler<LocaleCountryChangedEventArgs> LocaleCountryChanged
{
add
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static event EventHandler<LocaleLanguageChangedEventArgs> LocaleLanguageChanged
{
add
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static event EventHandler<LocaleTimeFormat24HourSettingChangedEventArgs> LocaleTimeFormat24HourSettingChanged
{
add
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static event EventHandler<LocaleTimeZoneChangedEventArgs> LocaleTimeZoneChanged
{
add
private static readonly Interop.Settings.SystemSettingsChangedCallback s_timeChangedCallback = (SystemSettingsKeys key, IntPtr userData) =>
{
-
+
int time = SystemSettings.Time;
TimeChangedEventArgs eventArgs = new TimeChangedEventArgs(time);
s_timeChanged?.Invoke(null, eventArgs);
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static event EventHandler<TimeChangedEventArgs> TimeChanged
{
add
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static event EventHandler<SoundLockSettingChangedEventArgs> SoundLockSettingChanged
{
add
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static event EventHandler<SoundSilentModeSettingChangedEventArgs> SoundSilentModeSettingChanged
{
add
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static event EventHandler<SoundTouchSettingChangedEventArgs> SoundTouchSettingChanged
{
add
{
s_soundTouchChanged -= value;
if (s_soundTouchChanged == null)
+
{
SystemSettingsError ret = (SystemSettingsError)Interop.Settings.SystemSettingsRemoveCallback(SystemSettingsKeys.SoundTouchEnabled);
if (ret != SystemSettingsError.None)
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static event EventHandler<DisplayScreenRotationAutoSettingChangedEventArgs> DisplayScreenRotationAutoSettingChanged
{
add
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static event EventHandler<DeviceNameChangedEventArgs> DeviceNameChanged
{
add
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static event EventHandler<MotionSettingChangedEventArgs> MotionSettingChanged
{
add
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <feature>http://tizen.org/feature/network.wifi</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static event EventHandler<NetworkWifiNotificationSettingChangedEventArgs> NetworkWifiNotificationSettingChanged
{
add
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static event EventHandler<NetworkFlightModeSettingChangedEventArgs> NetworkFlightModeSettingChanged
{
add
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static event EventHandler<ScreenBacklightTimeChangedEventArgs> ScreenBacklightTimeChanged
{
add
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <feature>http://tizen.org/feature/systemsetting.incoming_call</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static event EventHandler<SoundNotificationChangedEventArgs> SoundNotificationChanged
{
add
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static event EventHandler<SoundNotificationRepetitionPeriodChangedEventArgs> SoundNotificationRepetitionPeriodChanged
{
add
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static event EventHandler<LockStateChangedEventArgs> LockStateChanged
{
add
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static event EventHandler<AdsIdChangedEventArgs> AdsIdChanged
{
add
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <feature>http://tizen.org/feature/network.telephony</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static event EventHandler<UltraDataSaveChangedEventArgs> UltraDataSaveChanged
{
add
/// </summary>
/// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
/// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <feature>http://tizen.org/feature/network.telephony</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
public static event EventHandler<UltraDataSavePackageListChangedEventArgs> UltraDataSavePackageListChanged
{
add
}
}
}
+
+ private static readonly Interop.Settings.SystemSettingsChangedCallback s_accessibilityTtsChangedCallback = (SystemSettingsKeys key, IntPtr userData) =>
+ {
+ bool accessibilityTts = SystemSettings.AccessibilityTtsEnabled;
+ AccessibilityTtsSettingChangedEventArgs eventArgs = new AccessibilityTtsSettingChangedEventArgs(accessibilityTts);
+ s_accessibilityTtsChanged?.Invoke(null, eventArgs);
+ };
+ private static event EventHandler<AccessibilityTtsSettingChangedEventArgs> s_accessibilityTtsChanged;
+ /// <summary>
+ /// THe AccessibilityTtsChanged event is triggered when the screen touch sound enabled status is changed.
+ /// </summary>
+ /// <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
+ /// <privlevel>platform</privlevel>
+ /// <feature>http://tizen.org/feature/systemsetting</feature>
+ /// <exception cref="ArgumentException">Invalid Argument</exception>
+ /// <exception cref="NotSupportedException">Not Supported feature</exception>
+ /// <exception cref="InvalidOperationException">Invalid operation</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have privilege to access this method.</exception>
+ public static event EventHandler<AccessibilityTtsSettingChangedEventArgs> AccessibilityTtsSettingChanged
+ {
+ add
+ {
+ if (s_accessibilityTtsChanged == null)
+ {
+ SystemSettingsError ret = (SystemSettingsError)Interop.Settings.SystemSettingsSetCallback(SystemSettingsKeys.AccessibilityTtsEnabled, s_accessibilityTtsChangedCallback, IntPtr.Zero);
+ if (ret != SystemSettingsError.None)
+ {
+ throw SystemSettingsExceptionFactory.CreateException(ret, "Error in callback handling");
+ }
+ }
+ s_accessibilityTtsChanged += value;
+ }
+
+ remove
+ {
+ s_accessibilityTtsChanged -= value;
+ if (s_accessibilityTtsChanged == null)
+
+ {
+ SystemSettingsError ret = (SystemSettingsError)Interop.Settings.SystemSettingsRemoveCallback(SystemSettingsKeys.AccessibilityTtsEnabled);
+ if (ret != SystemSettingsError.None)
+ {
+ throw SystemSettingsExceptionFactory.CreateException(ret, "Error in callback handling");
+ }
+ }
+ }
+ }
+
}
}