addLocationSources
open fun addLocationSources(@NonNull locationSources: List<MPLocationSource>, @Nullable onResultReadyListener: OnResultReadyListener)
Adds one or more location data sources
Note that if this method or setLocationSources 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 only if any new sources has been added
Parameters
locationSources
One or more MPLocationSource
onResultReadyListener
An optional callback
Throws
if the SDK hasn't been initialized (by invoking load) or if location sources had already been added
if the given location sources have non-zero or negative source IDs