IndividualPlaceData

data class IndividualPlaceData(id: String, countryIso: String, category: String, nameRecords: List<IndividualPlaceName>, location: GeoCoordinates, entryLocation: GeoCoordinates?) : Parcelable

Class representing an individual place.

Constructors

IndividualPlaceData
Link copied to clipboard
fun IndividualPlaceData(id: String, countryIso: String, category: String, nameRecords: List<IndividualPlaceName>, location: GeoCoordinates, entryLocation: GeoCoordinates? = null)

Functions

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

Properties

category
Link copied to clipboard
val category: String

Category of the place. Can be one of the default SDK categories, or one defined by the integrator.

countryIso
Link copied to clipboard
val countryIso: String

ISO 3166-2 code of the map, in which this place is located.

entryLocation
Link copied to clipboard
val entryLocation: GeoCoordinates? = null

(Optional) Entry location of this place.

id
Link copied to clipboard
val id: String

Integrator ID of the place.

location
Link copied to clipboard
val location: GeoCoordinates

Location of the place. Determines where pin on map will be placed.

nameRecords
Link copied to clipboard
val nameRecords: List<IndividualPlaceName>

List of IndividualPlaceName objects, which represent different language variants of the place title and subtitle.