SearchSuggestItem

Types

Link copied to clipboard
class Category(val canonicalName: String, val displayName: String) : SearchSuggestItem.Type
Link copied to clipboard
class Point(val etaDistance: EtaDistance, val searchResultTypes: List<SearchResultType>) : SearchSuggestItem.Type
Link copied to clipboard
interface Type

Properties

Link copied to clipboard
abstract val description: String?
Link copied to clipboard
abstract val iconRes: Int
Link copied to clipboard
abstract val id: String
Link copied to clipboard
abstract val name: CharSequence

Visible name of the item

Link copied to clipboard

Functions

Link copied to clipboard
abstract suspend fun select(): DestinationSearchResult

Transforms the suggestion into DestinationSearchResult to present it on the map.