History Record
class HistoryRecord @JvmOverloads constructor(val id: String, val name: String, val descriptionText: String?, val address: SearchAddress?, val routablePoints: List<RoutablePoint>?, val categories: List<String>?, val makiIcon: String?, val coordinate: Point, val type: SearchResultType, val metadata: SearchResultMetadata?, val timestamp: Long, val newType: String = newSearchResultTypeToFromOld(type)) : IndexableRecord, Parcelable
History indexable record.
See also
Constructors
Link copied to clipboard
fun HistoryRecord(id: String, name: String, descriptionText: String?, address: SearchAddress?, routablePoints: List<RoutablePoint>?, categories: List<String>?, makiIcon: String?, coordinate: Point, metadata: SearchResultMetadata?, newType: String, timestamp: Long)
Secondary constructor that accepts newType instead of the deprecated type.
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, newType: String = newSearchResultTypeToFromOld(type))
Functions
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, newType: String = this.newType): HistoryRecord
Creates new HistoryRecord from current instance.
Link copied to clipboard
Link copied to clipboard
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Type of the history record. Must be one of the constants defined in NewSearchResultType.Type values.
Link copied to clipboard
List of points near coordinate, that represents entries to associated building.
Link copied to clipboard
Type of the search result represented by the record. Deprecated, use newType to identify the actual type