IndividualPlaceData

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

Class representing an individual place.

Constructors

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

Functions

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 category: String

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

Link copied to clipboard
val countryIso: String

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

Link copied to clipboard
val entryLocation: GeoCoordinates? = null

(Optional) Entry location of this place.

Link copied to clipboard
val id: String

Integrator ID of the place.

Link copied to clipboard
val location: GeoCoordinates

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

Link copied to clipboard
val nameRecords: List<IndividualPlaceName>

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