MPLocationSource

interface MPLocationSource

MPLocationSource

Author

Jose J Varó - Copyright © 2018 MapsPeople A/S. All rights reserved.

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
@NonNull
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
abstract fun getSourceId(): Int
A positive non-zero unique identifier for this location data source
Link copied to clipboard
@NonNull
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