interface CameraCallbacksExtension
Interface defining callbacks regarded to camera events.
abstract fun addOnCameraChangedListener(listener: TomtomMapCallback.OnCameraChangedListener): Unit
Adds a listener that is executed when the camera has changed. For example, it happens when a map is panned or zoomed. |
|
abstract fun addOnCameraMoveCanceledListener(listener: TomtomMapCallback.OnCameraMoveCanceledListener): Unit
Registers a listener that will be executed when the camera move is canceled. |
|
abstract fun addOnCameraMoveFinishedListener(listener: TomtomMapCallback.OnCameraMoveFinishedListener): Unit
Registers a listener that will be executed when the camera move is completed. |
|
abstract fun addOnCameraMoveListener(listener: TomtomMapCallback.OnCameraMoveListener): Unit
Registers a listener that will be executed when the camera move is in progress. |
|
abstract fun addOnCameraMoveStartedListener(listener: TomtomMapCallback.OnCameraMoveStartedListener): Unit
Registers a listener that will be executed when the camera starts moving. |
|
abstract fun removeOnCameraChangedListener(listener: TomtomMapCallback.OnCameraChangedListener): Unit
Removes the previously added listener. |
|
abstract fun removeOnCameraMoveCanceledListener(listener: TomtomMapCallback.OnCameraMoveCanceledListener): Unit
Unregisters the TomtomMapCallback.OnCameraMoveCanceledListener. |
|
abstract fun removeOnCameraMoveFinishedListener(listener: TomtomMapCallback.OnCameraMoveFinishedListener): Unit
Unregisters the TomtomMapCallback.OnCameraMoveFinishedListener. |
|
abstract fun removeOnCameraMoveListener(listener: TomtomMapCallback.OnCameraMoveListener): Unit
Unregisters the TomtomMapCallback.OnCameraMoveListener. |
|
abstract fun removeOnCameraMoveStartedListener(listener: TomtomMapCallback.OnCameraMoveStartedListener): Unit
Unregisters the TomtomMapCallback.OnCameraMoveStartedListener. |
interface TomtomMap : RouteExtension, MarkerExtension, MapManipulationExtension, MapInfoExtension, MapCallbacksExtension, MapViewExtension, MarkersCallbackExtension, OverlaysCallbackExtension, RouteCallbackExtension, LocationSourceExtension, OnRequestPermissionsResultCallback, CameraCallbacksExtension
Interface that is the main entry point for all methods related to the map. |