MPLocationSource

interface MPLocationSource

MPLocationSource

Functions

Link copied to clipboard
abstract fun addLocationsObserver(@Nullable observer: MPLocationsObserver)
Link copied to clipboard
abstract fun clearCache()
Clears cached data
Link copied to clipboard
abstract fun getLocations(): List<MPLocation>
Retrieves all locations It will return an empty list if data is not ready or not available.
Link copied to clipboard
@IntRange(from = 1)
abstract fun getSourceId(): Int
A positive non-zero unique identifier for this location data source
Link copied to clipboard
abstract fun getStatus(): MPLocationSourceStatus
Link copied to clipboard
abstract fun removeLocationsObserver(@Nullable observer: MPLocationsObserver)
Link copied to clipboard
abstract fun terminate()
Invoked by the MapsIndoors SDK when onApplicationTerminate is called

Inheritors

Link copied to clipboard