This API is available on Firefox OS for internal applications 仅。

Provides access to the device's settings.

特性

SettingsManager.onsettingchange

References a Handler to manage change states of settings.

方法

SettingsManager.createLock()
返回 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 .

规范

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

另请参阅

元数据

  • 最后修改: