DashSearchSuggestion

Types

Link copied to clipboard
abstract class Type

Properties

Link copied to clipboard
abstract val address: DashAddress?

Address, might be null or incomplete.

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

Poi categories. Always empty for non-POI suggestions.

Link copied to clipboard
abstract val descriptionText: String?

Suggestion description.

Link copied to clipboard
abstract val distanceMeters: Double?

Distance in meters from result to requested origin.

Link copied to clipboard
abstract val etaMinutes: Double?

Estimated time of arrival (in minutes).

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>?

Additional suggestion metadata.

Link copied to clipboard
abstract val name: String

Suggestion name.

Link copied to clipboard
abstract val poweredByAi: Boolean

Whether the result is powered by AI or not.

Link copied to clipboard

Type of the search suggestion.