HistoryRecord

class HistoryRecord(id: String, name: String, descriptionText: String?, address: SearchAddress?, routablePoints: List<RoutablePoint>?, categories: List<String>?, makiIcon: String?, coordinate: Point, type: SearchResultType, metadata: SearchResultMetadata?, timestamp: Long) : IndexableRecord, Parcelable

History indexable record.

See also

Constructors

HistoryRecord
Link copied to clipboard
fun HistoryRecord(id: String, name: String, descriptionText: String?, address: SearchAddress?, routablePoints: List<RoutablePoint>?, categories: List<String>?, makiIcon: String?, coordinate: Point, type: SearchResultType, metadata: SearchResultMetadata?, timestamp: Long)

Functions

copy
Link copied to clipboard
fun copy(id: String = this.id, name: String = this.name, descriptionText: String? = this.descriptionText, address: SearchAddress? = this.address, routablePoints: List<RoutablePoint>? = this.routablePoints, categories: List<String>? = this.categories, makiIcon: String? = this.makiIcon, coordinate: Point = this.coordinate, type: SearchResultType = this.type, metadata: SearchResultMetadata? = this.metadata, timestamp: Long = this.timestamp): HistoryRecord
Creates new HistoryRecord from current instance.
describeContents
Link copied to clipboard
abstract fun describeContents(): Int
writeToParcel
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

address
Link copied to clipboard
open override val address: SearchAddress?
Record address.
categories
Link copied to clipboard
open override val categories: List<String>?
Record categories.
coordinate
Link copied to clipboard
open override val coordinate: Point
Record coordinate.
descriptionText
Link copied to clipboard
open override val descriptionText: String?
Additional description for the record.
id
Link copied to clipboard
open override val id: String
Record unique identifier.
indexTokens
Link copied to clipboard
open override val indexTokens: List<String>
Additional string literals that should be included in search index.
makiIcon
Link copied to clipboard
open override val makiIcon: String?
Mapbox Maki icon id.
metadata
Link copied to clipboard
open override val metadata: SearchResultMetadata?
Search result metadata containing geo place's detailed information if available.
name
Link copied to clipboard
open override val name: String
Record name.
routablePoints
Link copied to clipboard
open override val routablePoints: List<RoutablePoint>?
List of points near coordinate, that represents entries to associated building.
timestamp
Link copied to clipboard
val timestamp: Long
History item creation time.
type
Link copied to clipboard
open override val type: SearchResultType
Type of the search result represented by the record.