PlaceDetails
class PlaceDetails
Deprecated
This will be removed 6 months after the next release.
Information about the retrieved place.
Constructors
Link copied to clipboard
constructor(name: String = "", street: String = "", address: String = "", city: String = "", citySubdivision: String = "", countryTertiarySubdivision: String = "", countrySecondarySubdivision: String = "", countrySubdivision: String = "", country: String = "", distance: FormattedDistance? = null, position: GeoPoint, entryPoints: List<EntryPoint> = emptyList(), phones: Set<String> = emptySet(), emails: Set<String> = emptySet(), urls: Set<String> = emptySet(), brands: Set<Brand> = emptySet(), fuelTypes: Set<FuelType> = emptySet(), vehicleTypes: Set<VehicleType> = emptySet(), connectorTypes: Set<ConnectorType> = emptySet(), timeZone: TimeZone? = null, openingHours: OpeningHours? = null)
Constructor to create a new PlaceDetails object.
constructor(name: String = "", street: String = "", address: String = "", city: String = "", citySubdivision: String = "", countryTertiarySubdivision: String = "", countrySecondarySubdivision: String = "", countrySubdivision: String = "", country: String = "", distance: FormattedDistance? = null, position: GeoPoint, entryPoints: List<EntryPoint> = emptyList())
Constructor to create a new PlaceDetails object.
Properties
Link copied to clipboard
The subdivision of the city where the place is located.
Link copied to clipboard
The types of connectors available at the place (if it's an Electric Vehicle Station).
Link copied to clipboard
The secondary subdivision of the country where the place is located.
Link copied to clipboard
The subdivision of the country where the place is located.
Link copied to clipboard
The tertiary subdivision of the country where the place is located.
Link copied to clipboard
The distance to the place.
Link copied to clipboard
The entry points to the place.
Link copied to clipboard
The opening hours of the place.
Link copied to clipboard
The types of vehicles that can access this place.
Functions
Link copied to clipboard
fun copy(name: String = this.name, street: String = this.street, address: String = this.address, city: String = this.city, citySubdivision: String = this.citySubdivision, countryTertiarySubdivision: String = this.countryTertiarySubdivision, countrySecondarySubdivision: String = this.countrySecondarySubdivision, countrySubdivision: String = this.countrySubdivision, country: String = this.country, distance: FormattedDistance? = this.distance, position: GeoPoint = this.position, entryPoints: List<EntryPoint> = this.entryPoints): PlaceDetails
Creates a copy of this PlaceDetails object.