SearchPlace

class 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?) : Parcelable

Search place UI model to show in SearchPlaceBottomSheetView.

Constructors

SearchPlace
Link copied to clipboard
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?)

Types

Companion
Link copied to clipboard
object Companion
Companion object.

Functions

copy
Link copied to clipboard
fun copy(id: String = this.id, name: String = this.name, descriptionText: String? = this.descriptionText, address: SearchAddress? = this.address, resultTypes: List<SearchResultType> = this.resultTypes, record: IndexableRecord? = this.record, coordinate: Point = this.coordinate, routablePoints: List<RoutablePoint>? = this.routablePoints, categories: List<String>? = this.categories, makiIcon: String? = this.makiIcon, metadata: SearchResultMetadata? = this.metadata, distanceMeters: Double? = this.distanceMeters, feedback: IncorrectSearchPlaceFeedback? = this.feedback): SearchPlace
Creates new SearchPlace 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
val address: SearchAddress?
Search address.
categories
Link copied to clipboard
val categories: List<String>?
Search place categories.
coordinate
Link copied to clipboard
val coordinate: Point
Search place coordinate.
descriptionText
Link copied to clipboard
val descriptionText: String?
Additional description for the search result.
distanceMeters
Link copied to clipboard
val distanceMeters: Double?
Distance in meters to the given search place.
feedback
Link copied to clipboard
val feedback: IncorrectSearchPlaceFeedback?
Information about a place required to report a feedback.
id
Link copied to clipboard
val id: String
Search place id.
makiIcon
Link copied to clipboard
val makiIcon: String?
Maki icon name for search place.
metadata
Link copied to clipboard
val metadata: SearchResultMetadata?
Search result metadata containing geo place's detailed information if available.
name
Link copied to clipboard
val name: String
Search place name.
record
Link copied to clipboard
val record: IndexableRecord?
IndexableRecord instance for case if search result produced from some user data.
resultTypes
Link copied to clipboard
val resultTypes: List<SearchResultType>
List of result's types.
routablePoints
Link copied to clipboard
val routablePoints: List<RoutablePoint>?
List of points near coordinate, that can be used for more convenient navigation.