startWithLocationOptions method

LocationEngineStatus startWithLocationOptions(
  1. LocationOptions locationOptions
)
override

On Android devices starts the location engine with desired LocationOptions. Make sure to call either LocationEngine.confirmHEREPrivacyNoticeInclusion or LocationEngine.confirmHEREPrivacyNoticeException beforehand. Returns LocationEngineStatus.alreadyStarted if LocationEngine.startWithLocationAccuracy or LocationEngine.startWithLocationOptions is called again without calling LocationEngine.stop in between. See LocationEngineStatus for other possible return values.

On iOS devices this is not supported and LocationEngineStatus.notSupported is returned.

Implementation

LocationEngineStatus startWithLocationOptions(LocationOptions locationOptions) =>
    _location.startWithLocationOptions(locationOptions);