MapboxCarMapObserver

interface MapboxCarMapObserver

Many downstream services will not work until the surface has been created and the map has loaded. This interface allows you to create custom Mapbox experiences for the car.

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
onAttached
Link copied to clipboard
open fun onAttached(mapboxCarMapSurface: MapboxCarMapSurface)
Called when a MapboxCarMapSurface has been loaded.
onDetached
Link copied to clipboard
open fun onDetached(mapboxCarMapSurface: MapboxCarMapSurface)
Called when a MapboxCarMapSurface has been detached from this observer.
onVisibleAreaChanged
Link copied to clipboard
open fun onVisibleAreaChanged(visibleArea: Rect, edgeInsets: EdgeInsets)
Called when the car library updates the visible regions for the surface.
toString
Link copied to clipboard
open fun toString(): String