Mapbox Car Map Gesture Handler
interface MapboxCarMapGestureHandler
Content copied to clipboard
This interface captures gesture events from Android Auto's SurfaceCallback. In order to customize the map gestures provided, you can set your own gestures with setGestureHandler.
Functions
on Scroll
Link copied to clipboard
open fun onScroll(@NonNull mapboxCarMapSurface: MapboxCarMapSurface, @NonNull visibleCenter: ScreenCoordinate, distanceX: Float, distanceY: Float)
Content copied to clipboard
Allows you to implement or observe the map scroll gesture handler.
Inheritors
DefaultMapboxCarMapGestureHandler
Link copied to clipboard