Favorite Record
class FavoriteRecord @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 newType: String = newSearchResultTypeToFromOld(type)) : IndexableRecord, Parcelable
Favorite indexable record.
See also
Constructors
Link copied to clipboard
fun FavoriteRecord(id: String, name: String, descriptionText: String?, address: SearchAddress?, routablePoints: List<RoutablePoint>?, categories: List<String>?, makiIcon: String?, coordinate: Point, metadata: SearchResultMetadata?, newType: String)
Secondary constructor that accepts newType instead of the deprecated type.
Link copied to clipboard
fun FavoriteRecord(id: String, name: String, descriptionText: String?, address: SearchAddress?, routablePoints: List<RoutablePoint>?, categories: List<String>?, makiIcon: String?, coordinate: Point, type: SearchResultType, metadata: SearchResultMetadata?, 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, newType: String = this.newType): FavoriteRecord
Creates new FavoriteRecord 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