Search destination
There are many ways to search for a destination. The SDK provides a few default experiences, which enable you to find a destination without using your phone. Many of the options are available in the search package.
Search for search queries
SEARCH
screen will show a screen that allows the user to search for a destination. Make sure that YOUR_MAPBOX_ACCESS_TOKEN supports Mapbox Search or you will need to bring your own search with the MapboxScreenManager
.
Voice activated navigation
You must override the onNewIntent
in the Session
. The GeoDeeplinkNavigateAction
will parse the intent and retrieve results with the GEO_DEEPLINK
screen. More documentation is available in the navigation intents section. To implement this yourself, use the Mapbox GeoDeeplinkParser
.
override fun onNewIntent(intent: Intent) {
super.onNewIntent(intent)
GeoDeeplinkNavigateAction(mapboxCarContext).onNewIntent(intent)
}
Was this page helpful?