SearchPlace

class SearchPlace(val id: String, val name: String, val descriptionText: String?, val address: SearchAddress?, val resultTypes: List<SearchResultType>, val record: IndexableRecord?, val coordinate: Point, val routablePoints: List<RoutablePoint>?, val categories: List<String>?, val makiIcon: String?, val metadata: SearchResultMetadata?, val distanceMeters: Double?, val feedback: IncorrectSearchPlaceFeedback?) : Parcelable

Search place UI model to show in SearchPlaceBottomSheetView.

Constructors

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

Link copied to clipboard
object Companion

Companion object.

Functions

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.

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

Link copied to clipboard
val address: SearchAddress?

Search address.

Link copied to clipboard

Search place categories.

Link copied to clipboard
val coordinate: Point

Search place coordinate.

Link copied to clipboard

Additional description for the search result.

Link copied to clipboard

Distance in meters to the given search place.

Link copied to clipboard

Information about a place required to report a feedback.

Link copied to clipboard
val id: String

Search place id.

Link copied to clipboard

Maki icon name for search place.

Link copied to clipboard
val metadata: SearchResultMetadata?

Search result metadata containing geo place's detailed information if available.

Link copied to clipboard

Search place name.

Link copied to clipboard
val record: IndexableRecord?

IndexableRecord instance for case if search result produced from some user data.

Link copied to clipboard
val resultTypes: List<SearchResultType>

List of result's types.

Link copied to clipboard
val routablePoints: List<RoutablePoint>?

List of points near coordinate, that can be used for more convenient navigation.