Location provider set state
An action block that enables or disables a location provider.
The fiber will proceed immediately without pause.
Note! This feature require a rooted device since Android 4.2 and isn’t officially supported by Android, may not work on all devices.
- Location provider — location provider to toggle, default is GPS.
- State — whether to enable or disable the location provider.