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

License

© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-us/docs/web/api/permissionsettings

API B2G Firefox OS Permissions permissions Reference Référence