CarSearchEngine

class CarSearchEngine(searchEngine: SearchEngine, navigationLocationProvider: NavigationLocationProvider)

This class is to simplify the interaction with the SearchEngine for the specific use cases that the app needs in the car.

Constructors

Link copied to clipboard
fun CarSearchEngine(searchEngine: SearchEngine, navigationLocationProvider: NavigationLocationProvider)

Functions

Link copied to clipboard
fun search(query: String, callback: (List<SearchSuggestion>) -> Unit)

Search for suggestions.

Link copied to clipboard
fun select(selection: SearchSuggestion, callback: (List<SearchResult>) -> Unit)

Given a SearchSuggestion, request for SearchResults.