• Skip to main content
  • Select language
  • Skip to search
MDN Web Docs
  • Technologies
    • HTML
    • CSS
    • JavaScript
    • Graphics
    • HTTP
    • APIs / DOM
    • WebExtensions
    • MathML
  • References & Guides
    • Learn web development
    • Tutorials
    • References
    • Developer Guides
    • Accessibility
    • Game development
    • ...more docs
B2G OS
  1. MDN
  2. Archive of obsolete content
  3. B2G OS
  4. B2G OS APIs
  5. SettingsManager

SettingsManager

In This Article
  1. Properties
  2. Methods
  3. Specification
  4. See also

This API is available on Firefox OS for internal applications only.

Provides access to the device's settings.

Properties

SettingsManager.onsettingchange
References a Handler to manage change states of settings.

Methods

SettingsManager.createLock()
Returns a SettingsLock object to safely access settings asynchronously.
SettingsManager.addObserver()
Allows to bind a function to any change on a given settings
SettingsManager.removeObserver()
Allows to unbind a function previously set with addObserver.

Specification

Not part of any specification yet; however, this API will be discuss at W3C as part of the System Applications Working Group.

See also

  • SettingsLock
  • navigator.mozSettings
  • Settings API

Document Tags and Contributors

Tags: 
  • API
  • B2G
  • Firefox OS
  • Non-standard
  • Settings
 Contributors to this page: chrisdavidmills, teoli, MHasan, namolmes, justinpotts, ethertank, Sheppy, Jeremie
 Last updated by: chrisdavidmills, Feb 27, 2017, 2:07:32 AM
See also
  1. Settings API
  2. Archive
  3. Events
    1. settingchange
  4. Related pages for Settings API
    1. MozSettingsEvent
    2. SettingsLock
    3. SettingsManager