EVSearchResult
public struct EVSearchResult
A search result produced by EV search.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Creates an
EVSearchResultinstance with given parameters.Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public init( id: POIID, names: [String] = [], phones: [String] = [], emails: [String] = [], place: Place, chargingStations: [ChargingStation] = [], openingHours: OpeningHours? = nil, timeZone: TimeZone? = nil, accessType: ChargingPark.AccessType? = nil, detour: Detour? = nil )Parameters
idThe
POIIDthat includes the EV POI identifier.namesThe names of the EV POI result.
phonesThe phone numbers of the EV POI result.
emailsThe emails of the EV POI result.
placeThe
Placeof the EV POI result.chargingStationsA list of
ChargingStations that hold information related to the EV POI.openingHoursThe opening hours of the EV POI.
timeZoneThe time zone of the EV POI.
accessTypeA list of access types of the EV POI.
detourThe detailed information about the detour which should be taken to reach the electric vehicle search result position.
-
The detailed information about detour which should be taken to reach the electric vehicle search result position.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public let detour: Detour? -
Access type of the EV POI.
Declaration
Swift
public let accessType: ChargingPark.AccessType? -
The names of the EV POI result.
Declaration
Swift
public var names: [String] { get } -
The phone numbers of the EV POI result.
Declaration
Swift
public var phones: [String] { get } -
The emails of the EV POI result.
Declaration
Swift
public var emails: [String] { get } -
A list of
ChargingStations that hold information related to the EV POI.Declaration
Swift
public var chargingStations: [ChargingStation] { get } -
The opening hours of the EV POI.
Declaration
Swift
public var openingHours: OpeningHours? { get } -
The time zone of the EV POI.
Declaration
Swift
public var timeZone: TimeZone? { get }
TomTom SDK for iOS (0.71.1)
EVSearchResult