HistoryRecord

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.


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))

Deprecated

Use constructor that don't accept deprecated type