PreviewCarRoutesProvider

Gives the CarRoutePreviewScreen the ability to control the selected route rendered by the CarRouteLineRenderer and CarNavigationCamera.

Constructors

Link copied to clipboard
constructor(routes: List<NavigationRoute>)

Properties

Link copied to clipboard
open override val navigationRoutes: StateFlow<List<NavigationRoute>>

Provides navigation routes for active guidance or route preview.

Functions

Link copied to clipboard

When the route selection changes, update the route selection. This will relay the route selection to other components.