DashSearchResult

Represents a search result. implement this interface to provide a search result. parent interface: DashSearchRecord

Inheritors

Properties

Link copied to clipboard
abstract val address: DashAddress?

The address of the search result.

Link copied to clipboard
abstract val categories: List<String>?

The categories of the search result.

Link copied to clipboard
abstract val coordinate: Point

The coordinate of the search result.

Link copied to clipboard
abstract val customName: String?

The custom name of the search result.

Link copied to clipboard
abstract val description: String?

The description of the search result.

Link copied to clipboard
abstract val distanceMeters: Double?

The distance in meters from the search result to the user location.

Link copied to clipboard
abstract val etaMinutes: Double?

The estimated time of arrival in minutes from the search result to the user location.

Link copied to clipboard
abstract val id: String

Unique identifier for search record.

Link copied to clipboard
abstract val mapboxId: String?

Unique and stable identifier for search record.

Link copied to clipboard
abstract val metadata: Map<String, String>?

The metadata of the search result. Can be used to store additional information.

Link copied to clipboard
abstract val name: String

The phone number of the search result.

Link copied to clipboard
abstract val pinCoordinate: Point

The pin coordinate of the search result. This is used to display the pin on the map. Can be null or the same as coordinate.

Link copied to clipboard
abstract val type: String

Type of the search result. see DashSearchResultType.Type