NavigationViewApi

class NavigationViewApi

Api that gives you the ability to change the state for navigation apps.

Functions

Link copied to clipboard
fun enableReplaySession()

The action enables replay trip session based on simulated locations.

Link copied to clipboard
fun enableTripSession()

The action enables trip session based on real gps updates.

Link copied to clipboard
fun isReplayEnabled(): Boolean

Check if the current trip is being simulated.

Link copied to clipboard
fun setDestination(point: Point)

The action is used to set the destination for the trip.

Link copied to clipboard
fun setRoutes(options: RouteOptions)

The action is used to request and set routes based on RouteOptions.

fun setRoutes(routes: List<NavigationRoute>)

The action is used to directly set the NavigationRoute supplied to NavigationView.