• Skip to main content
  • Select language
  • Skip to search
mozilla
Mozilla Developer Network
  • Sign in
    • Persona
    • GitHub
  • Web Platform
    Technologies
    • HTML
    • CSS
    • JavaScript
    • Graphics
    • APIs / DOM
    • Apps
    • MathML
    References & Guides
    • Learn the Web
    • Tutorials
    • References
    • Developer Guides
    • Accessibility
    • ...more docs
  • Mozilla Docs
    • Add-ons
    • Firefox
    • Firefox Marketplace
    • Firefox OS
    • Persona
  • Developer Tools
  • Feedback
    • Get Firefox help
    • Get web development help
    • Join the MDN community
    • Report a content problem
    • Report a bug
  •  
B2G OS
    • No translations exist for this article.
    • Add a translation
  • Edit
  • Advanced
    • History
    • Print this article
  1. MDN
  2. Mozilla
  3. B2G OS
  4. Firefox OS APIs
  5. SettingsManager
Your Search Results

    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.

    PropertiesEdit

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

    MethodsEdit

    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.

    SpecificationEdit

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

    See alsoEdit

    • SettingsLock
    • navigator.mozSettings
    • Settings API
    Share:
    • Twitter
    • Facebook
    • Google+

    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 11, 2016, 6:38:54 AM
    See also
    1. Settings API
    2. SettingsManager
    3. Properties
      1. onsettingchange
    4. Methods
      1. addObserver()
      2. createLock()
      3. removeObserver()
    5. Inheritance:
      1. EventTarget
    6. Events
      1. settingchange
    7. Related pages for Settings API
      1. MozSettingsEvent
      2. Navigator.mozSettings
      3. SettingsLock

    © 2005-2016 Mozilla Developer Network and individual contributors.

    Content is available under these licenses.

    • About MDN
    • Terms
    • Privacy
    • Cookies
    • Contribute to the code