set Location Sources
@AnyThread
Content copied to clipboard
Sets one or more location data sources
Note that if this method is not invoked, a MapsIndoors data source will be used
When this method is invoked, getLocations() will be called on all the location sources registered
Parameters
location Sources
One or more MPLocationSource
on Result Ready Listener
An optional callback
Throws
if the SDK hasn't been initialized (by invoking initialize) or if location sources had already been added
if the given location sources have non-zero or negative source IDs