mozilla
Your Search Results

    SettingsManager

    この記事はまだ日本語に翻訳されていません。MDN の翻訳はボランティアによって行われています。是非 MDN に登録し、私たちの力になって下さい。

    Non-standard
    This feature is not on a current W3C standards track, but it is supported on the Firefox OS platform. Although implementations may change in the future and it is not supported widely across browsers, it is suitable for use in code dedicated to Firefox OS apps.

    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

    ドキュメントのタグと貢献者

    Contributors to this page: Sheppy, MHasan, namolmes, Jeremie, ethertank, justinpotts, teoli
    最終更新者: teoli,