setBackgroundLocationAllowed abstract method
- bool allowed
Enables or disables background location updates for an application.
Defaults to false.
allowedSet totrueto allow background location updates, orfalseto disable them.
Returns LocationEngineStatus. LocationEngineStatus.ok if call succeeds. LocationEngineStatus.notAllowed if the application does not have background location capabilities enabled. LocationEngineStatus.notSupported on platforms which do not support controlling of background location modes.
Implementation
LocationEngineStatus setBackgroundLocationAllowed(bool allowed);