removeLocationSources

open fun removeLocationSources(@NonNull locationSources: List<MPLocationSource>, @Nullable onResultReadyListener: OnResultReadyListener)

Removes one or more location data sources

When this method is invoked, getLocations will be called on all the location sources registered only if any sources has been removed

Parameters

locationSources

One or more MPLocationSource

onResultReadyListener

An optional callback

Throws

if the SDK hasn't been initialized (by invoking initialize) or if location sources had already been added