abstract class AbstractLocationSource : LocationSource, LocationListener
Base class for all LocationSources. It contains the listeners list and propagate onLocationChange events to added listeners. |
|
open class BasicLocationSource : AbstractLocationSource
The basic implementation of the LocationSource which relies on the default Android mechanism to obtain location ( via LocationManager ). |
|
class BuildConfig |
|
open class FusedLocationSource : LocationCallback, LocationSource, ConnectionCallbacks, OnConnectionFailedListener, Contextable
Default location source implementation. It is based on FusedLocationService provided by Google. When no custom location source provided, map is using it to get the user location. It uses {LocationUpdateListener} to notify about new location updates. |
|
open class LocationRequestsFactory
Factory to create various location request, that differs with location update time and accuracy to save the user battery. In some cases, the user may not need too frequent updates. |
|
open class Locations
Constant with fixed locations |
|
interface LocationSource
Interface that provides location data, typically to a TomtomMap object. A TomtomMap has a built-in location provider, however, it can be replaced with custom one that implements this interface. |
|
interface LocationUpdateListener
Callback interface to notify about location changes. |