System Settings

You can access the system configuration related to user preferences, such as ringtone, wallpaper, and font using system settings.

The main features of the Tizen.System.SystemSettings class include:


To enable your application to use the system setting functionality:

  1. To use the Tizen.System.SystemSettings class, the application has to request permission by adding the following privilege to the tizen-manifest.xml file:

  2. To make your application visible in Tizen Store only for devices that support the system setting features, add the following feature key to the tizen-manifest.xml file:

    <!--To use the WallpaperHomeScreen property and WallpaperHomeScreenChanged event-->
    <feature name=""/>

    To use all the properties and events of Tizen.System.SystemSettings class, add the following feature key to the tizen-manifest.xml file:

    <feature name=""/>

    The following table lists the feature keys required by the specific properties and events of the Tizen.System.SystemSettings class.

    Table: Feature keys related to system settings

    Feature key Property Event NetworkWifiNotificationEnabled NetworkWifiNotificationSettingChanged UltraDataSave, AutomaticTimeUpdate UltraDataSaveChanged, UltraDataSavePackageListChanged, AutomaticTimeUpdateChangedEventArgs AccessibilityGrayscale AccessibilityGrayscaleChanged AccessibilityNegativeColor AccessibilityNegativeColorChanged DefaultFontType, FontType, FontSize FontSizeChanged, FontTypeChanged WallpaperHomeScreen WallpaperHomeScreenChanged IncomingCallRingtone, SoundNotification IncomingCallRingtoneChanged, SoundNotificationChanged LockscreenApp, WallpaperLockScreen LockScreenAppChanged, WallpaperLockScreenChanged EmailAlertRingtone EmailAlertRingtoneChanged

    You can also check whether a device supports a given feature using the TryGetValue() method of the Tizen.System.Information class, and accordingly handle the code when a feature is supported and not supported:

    const string HOME_SCREEN_FEATURE_KEY = "";
    bool ret;
    if (Information.TryGetValue<bool>(HOME_SCREEN_FEATURE_KEY, out ret) == false)
        /// Error handling

    In TV applications, you can test the system settings functionality on an emulator only. Most target devices do not currently support this feature.

  3. To use the methods and properties of the Tizen.System.SystemSettings class, include the Tizen.System namespace in your application:

    using Tizen.System;

Retrieving System Settings

You can retrieve system settings with the properties of the Tizen.System.SystemSettings class.

To retrieve, for example, the ringtone for incoming calls, use the Tizen.System.SystemSettings.IncomingCallRingtone property:

var getValue = Tizen.System.SystemSettings.IncomingCallRingtone;

Monitoring System Setting Changes

You can set up notifications about system setting changes by defining event handlers and registering them for the Tizen.System.SystemSettings class events.

To monitor, for example, when the ringtone for incoming calls changes:

  1. Define the event handler and register it for the IncomingCallRingtoneChanged event:

    private static void OnIncomingCallRingtoneChanged(object sender, Tizen.System.IncomingCallRingtoneChangedEventArgs e)
        Assert.IsInstanceOf<string>(e.Value, "OnIncomingCallRingtoneChanged: IncomingCallRingtone not an instance of string");
    Tizen.System.SystemSettings.IncomingCallRingtoneChanged += OnIncomingCallRingtoneChanged;
  2. When you no longer need the event handler, deregister it:

    Tizen.System.SystemSettings.IncomingCallRingtoneChanged -= OnIncomingCallRingtoneChanged;
  • Dependencies
    • Tizen 4.0 and Higher