Class: SettingsCore

SettingsCore

new SettingsCore()

SettingsCore is a wrapper to access navigator.mozSettings and provides some API it doesn't provide.

SettingsCore is a wrapper to access navigator.mozSettings and provides some API it doesn't provide. SettingsCore#addObserver(SETTING_NAME, OBSERVER_OBJECT) SettingsCore#set(SETTING_OBJECT) *SettingsCore#get(SETTING_NAME)

Source:

Methods

getSettingsLock()

getSettingsLock: create a lock or retrieve one that we saved.

getSettingsLock: create a lock or retrieve one that we saved. mozSettings.createLock() is expensive and lock should be reused whenever possible.

Source: