Search Place
fun SearchPlace(id: String, name: String, descriptionText: String?, address: SearchAddress?, record: IndexableRecord?, coordinate: Point, routablePoints: List<RoutablePoint>?, categories: List<String>?, makiIcon: String?, metadata: SearchResultMetadata?, distanceMeters: Double?, feedback: IncorrectSearchPlaceFeedback?, newTypes: List<String>)
Secondary constructor that accepts newTypes instead of the deprecated resultTypes.
fun SearchPlace(id: String, name: String, descriptionText: String?, address: SearchAddress?, resultTypes: List<SearchResultType>, record: IndexableRecord?, coordinate: Point, routablePoints: List<RoutablePoint>?, categories: List<String>?, makiIcon: String?, metadata: SearchResultMetadata?, distanceMeters: Double?, feedback: IncorrectSearchPlaceFeedback?, newTypes: List<String> = resultTypes.map {
newSearchResultTypeToFromOld(it)
})
Deprecated
Use constructor that don't accept resultTypes