SearchRepositoryImpl

class SearchRepositoryImpl(lastSearchResponseHolder: LastSearchResponseHolder, searchMetricsTracker: SearchMetricsTracker, searchAnalytics: SearchAnalytics, evStationRequester: EVStationRequester?, paramsRepository: SearchParamsRepository, offlineSearch: OfflineMapboxSearch, onlineSearch: OnlineMapboxSearch, customSearchEngine: DashSearchEngine?) : SearchRepository

Constructors

Link copied to clipboard
constructor(lastSearchResponseHolder: LastSearchResponseHolder, searchMetricsTracker: SearchMetricsTracker, searchAnalytics: SearchAnalytics, evStationRequester: EVStationRequester?, paramsRepository: SearchParamsRepository, offlineSearch: OfflineMapboxSearch, onlineSearch: OnlineMapboxSearch, customSearchEngine: DashSearchEngine?)

Properties

Link copied to clipboard
open override var lastSearchQuery: SearchQuery
Link copied to clipboard
open override val searchRequestStatus: MutableSharedFlow<SearchRequestState>
Link copied to clipboard
open override val searchResultsFlow: MutableSharedFlow<List<DestinationSearchResult>>
Link copied to clipboard
open override val searchSuggestionsFlow: MutableSharedFlow<List<DashSearchSuggestion>>

Functions

Link copied to clipboard
open suspend override fun categorySearch(searchRequest: String, displayName: String, options: DashCategorySearchOptions): List<DestinationSearchResult>
Link copied to clipboard
open suspend override fun getResponseInfo(): ResponseInfo?
Link copied to clipboard
open suspend override fun retrieve(id: String): Result<DestinationSearchResult>
Link copied to clipboard
open suspend override fun reverseGeocoding(options: ReverseGeoOptions, saveResponseInfo: Boolean): List<DestinationSearchResult>
Link copied to clipboard
open suspend override fun search(searchRequest: String, options: DashSearchOptions): List<DashSearchSuggestion>
Link copied to clipboard
open suspend override fun select(searchSuggestion: DashSearchSuggestion): DestinationSearchResult