onAttached

open fun onAttached(@NonNull mapboxCarMapSurface: MapboxCarMapSurface)

Called when a MapboxCarMapSurface has been loaded. You can assume there will only be a single surface at a time.

See also

com.mapbox.maps.extension.androidauto.MapboxCarMap

MapboxCarMap#registerObserver

Parameters

mapboxCarMapSurface

loaded and ready to use car map surface