sdk / com.mapbox.search.record / FavoriteRecord

FavoriteRecord

data class FavoriteRecord : IndexableRecord, Parcelable

Favorite indexable record.

See Also

IndexableRecord

HistoryRecord

Constructors

<init>

Favorite indexable record.

FavoriteRecord(id: String, name: String, coordinate: Point, address: SearchAddress?, searchResultType: SearchResultType, makiIcon: String?, categories: List<String>)

Properties

address

Favorite address.

val address: SearchAddress?

categories

Favorite categories list.

val categories: List<String>

coordinate

Favorite coordinate.

val coordinate: Point

id

Favorite item id.

val id: String

indexTokens

Additional string literals that should be used for search index.

val indexTokens: List<String>

makiIcon

Favorite icon name.

val makiIcon: String?

name

Favorite name.

val name: String

searchResultType

Favorite search result type.

val searchResultType: SearchResultType