Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

PermissionSettings

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

Summary

The PermissionSettings interface provides ways to let the user manage all the permissions requested by all apps on a Firefox OS device.

Properties

None.

Methods

 
PermissionSettings.get()
Allows to retrieve the status of a given permission.
PermissionSettings.isExplicit()
Allows to check if a permission is explicit or implicit.
PermissionSettings.remove()
Allows to remove a given permission for an app running inside the Firefox OS browser.
PermissionSettings.set()
Allows to change a permission.

Specifications

Not part of any specification.

See also

Document Tags and Contributors

 Contributors to this page: chrisdavidmills, teoli, kscarfone, Jeremie
 Last updated by: chrisdavidmills,