CarSpeedLimitRenderer

class CarSpeedLimitRenderer : MapboxCarMapObserver

Create a speed limit sign. This class is demonstrating how to create a renderer. To Create a new speed limit sign experience, try creating a new class.

Constructors

Link copied to clipboard
constructor(mapboxCarContext: MapboxCarContext)

Public constructor and the internal constructor is for unit testing.

Functions

Link copied to clipboard
open override fun onAttached(mapboxCarMapSurface: MapboxCarMapSurface)
Link copied to clipboard
open override fun onDetached(mapboxCarMapSurface: MapboxCarMapSurface)
Link copied to clipboard
open fun onStableAreaChanged(@NonNull p0: Rect, @NonNull p1: EdgeInsets)
Link copied to clipboard
open override fun onVisibleAreaChanged(visibleArea: Rect, edgeInsets: EdgeInsets)