CarRoutePreviewRequest

class CarRoutePreviewRequest : MapboxNavigationObserver

Service class that requests routes for the preview screen.

Functions

Link copied to clipboard
fun cancelRequest()
Link copied to clipboard
open override fun onAttached(mapboxNavigation: MapboxNavigation)
Link copied to clipboard
open override fun onDetached(mapboxNavigation: MapboxNavigation)
Link copied to clipboard
fun request(placeRecord: PlaceRecord, callback: CarRoutePreviewRequestCallback)

When a search result was selected, request a route.

Properties

Link copied to clipboard
val repository: CarRoutePreviewRepository? = null