View Source Improve this doc

toggleLocationServices

Switch the state (enabled/disabled) of the location service.

Usage

1
2
browser.toggleLocationServices();

Example

toggleLocationServices.js
1
browser.toggleLocationServices();

Support

Support for android