SearchResultMetadata

Search result metadata container. Provides geo place's detailed information if available.

See also

Types

Link copied to clipboard
class Builder

Builder for creating instances of SearchResultMetadata.

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

Link copied to clipboard

Deprecated Average rating, associated with the search result. Use rating instead. This will be removed in v3.0.0 Available only for resolved com.mapbox.search.result.SearchResult.

Link copied to clipboard
val children: List<ChildMetadata>?

Child metadata for POI.

Link copied to clipboard

The country code in ISO 3166-1. Available for both com.mapbox.search.result.SearchSuggestion and com.mapbox.search.result.SearchResult.

Link copied to clipboard

The country code and its country subdivision code in ISO 3166-2. Available for both com.mapbox.search.result.SearchSuggestion and com.mapbox.search.result.SearchResult.

Link copied to clipboard

Raw CPS Specific Metadata for given search result, represented as a JSON string. Available only for resolved com.mapbox.search.result.SearchResult.

Link copied to clipboard

Indicates whether the location offers delivery services

Link copied to clipboard

Description of given search result. Available only for resolved com.mapbox.search.result.SearchResult.

Link copied to clipboard

Indicates whether the location has a drive-through service.

Link copied to clipboard

The email address associated with the location.

Link copied to clipboard

Raw extra data, e.g. the data that is not available via the remaining properties of this class.

Link copied to clipboard

The Facebook ID associated with the feature.

Link copied to clipboard
val fax: String?

The fax number associated with the location.

Link copied to clipboard

The Instagram handle associated with the location.

Link copied to clipboard
val openHours: OpenHours?

Information about time periods, when given search result is opened or closed. Available only for resolved com.mapbox.search.result.SearchResult.

Link copied to clipboard
val otherPhotos: List<ImageInfo>?

List of search result's other (non-primary) photos. Available only for resolved com.mapbox.search.result.SearchResult.

Link copied to clipboard
val parking: ParkingData?

Parking information for given search result. Available only for resolved com.mapbox.search.result.SearchResult.

Link copied to clipboard

Indicates whether parking is available at the location.

Link copied to clipboard

Phone number, associated with the search result. Available only for resolved com.mapbox.search.result.SearchResult.

Link copied to clipboard

A popularity score for the location, calculated based on user engagement and review counts. The value scales from 0 to 1, 1 being the most popular.

Link copied to clipboard

The price level of the location, represented by a string including dollar signs. The values scale from Cheap "$" to Most Expensive "$$$$".

Link copied to clipboard
val primaryPhotos: List<ImageInfo>?

List of search result's primary photos. Available only for resolved com.mapbox.search.result.SearchResult.

Link copied to clipboard

The average rating of the location, on a scale from 1 to 5.

Link copied to clipboard

Indicates whether the location accepts reservations.

Link copied to clipboard

Review count for associated search result. Available only for resolved com.mapbox.search.result.SearchResult.

Link copied to clipboard

Indicates whether beer is served.

Link copied to clipboard

Indicates whether breakfast is served.

Link copied to clipboard

Indicates whether brunch is served.

Link copied to clipboard

Indicates whether dinner is served.

Link copied to clipboard

Indicates whether lunch is served.

Link copied to clipboard

Indicates whether vegan diet options are available.

Link copied to clipboard

Indicates whether vegetarian diet options are available.

Link copied to clipboard

Indicates whether wine is served.

Link copied to clipboard

Indicates the availability of street parking near the location.

Link copied to clipboard

Indicates whether takeout services are available.

Link copied to clipboard

The Twitter handle associated with the location.

Link copied to clipboard

Indicates whether valet parking services are offered.

Link copied to clipboard

Website, associated with the search result. Available only for resolved com.mapbox.search.result.SearchResult.

Link copied to clipboard

Indicates whether the location is accessible by wheelchair.