Place

class Place

Represents a geographical location and its details.

Constructors

Link copied to clipboard
constructor(coordinate: GeoPoint, name: String = "", address: Address? = null, entryPoints: List<EntryPoint> = emptyList())

Constructs a Place object with the given parameters.

Types

Link copied to clipboard
class Details

Class representing place details associated with POI.

Link copied to clipboard
class Id(val id: String, val source: Source)

The identifier associated with the Place instance. Can be used to fetch or update place details.

Properties

Link copied to clipboard

The address of the place, if available.

Link copied to clipboard

The geographical coordinates of the place.

Link copied to clipboard

Place details associated with the Point of Interest (POI) data.

Link copied to clipboard

The list of entry points for the place.

Link copied to clipboard
val id: Place.Id?

The id of the place.

Link copied to clipboard

The name of the place.

Functions

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
fun copy(coordinate: GeoPoint = this.coordinate, name: String = this.name, address: Address? = this.address, entryPoints: List<EntryPoint> = this.entryPoints): Place

Creates a copy of this Place object with optional parameter overrides.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Checks if this Place object is equal to another object.

Link copied to clipboard
open override fun hashCode(): Int

Generates a hash code for this Place object.

Link copied to clipboard
open override fun toString(): String

Returns a string representation of this Place object.