SettingsManagementService
Service responsible for managing settings. SettingScope defines two types of settings:
application settings, which are applicable to the entire application and all user profiles
user profile-specific settings, which are linked to the user profile
Before a setting can be accessed, it must be created through createSetting.
For efficiency, setting value types are limited to primitive types, including lists. Other types can be serialized into a string, or decomposed into primitive types.
Properties
Functions
Creates a setting with key and defaultValue. The method must be called when this service or a client service becomes available.
Returns the value of the setting with key.
Updates the value of the setting with key with value for a session with sessionToken.
Reverts values of all settings to their defaults. It is effectively a "factory reset" for all settings.
Reverts the value of the setting with key for a session with sessionToken to its default value.