Search

  • Information about the address of a location.

    Used in Place.address.

    Note that while OfflineSearchEngine.suggest and OfflineSearchEngine.suggestByText set all available details, SearchEngine.suggest and SearchEngine.suggestByText set only Address.addressText. Complete address details can be obtained by searching with PlaceIdQuery.

    See more

    Declaration

    Swift

    public struct Address : Hashable
  • Address type

    See more

    Declaration

    Swift

    public enum AddressType : UInt32, CaseIterable, Codable
  • The options to specify an address query. A AddressQuery.query can consist of parts of an address or full addresses, optionally comma separated. AddressQuery should only be used to search for parts of the address, excluding the POI name. For example, “Invalidenstraße 116, Berlin, Germany” is appropriate, whereas “HERE, Invalidenstraße 116, Berlin, Germany” is not. To be able to include the POI name, use TextQuery instead. SearchOptions.languageCode specifies the language of the AddressQuery.query and determines the preferred language of the results.

    See more

    Declaration

    Swift

    public struct AddressQuery : Hashable
  • Represents a type of area like country, state, city, county, etc.

    See more

    Declaration

    Swift

    public enum AreaType : UInt32, CaseIterable, Codable
  • Contains place details such as contacts, opening hours and some electro vehicle info.

    See more

    Declaration

    Swift

    public struct BusinessDetails : Hashable
  • The options to specify a query by categories.

    See more

    Declaration

    Swift

    public struct CategoryQuery : Hashable
  • Represents contact information.

    See more

    Declaration

    Swift

    public struct Contact : Hashable
  • Represents the date range when the tariff element is valid. This is typically used to indicate seasonal tariffs or to announce an update to the tariff in advance. It may also be used to indicate spot prices, together with time period. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    See more

    Declaration

    Swift

    public struct DateRange : Hashable
  • Represents the day of the week. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    See more

    Declaration

    Swift

    public enum DayOfWeek : UInt32, CaseIterable, Codable
  • Contains details of a specific place, such as contact information, opening hours and assigned categories.

    See more

    Declaration

    Swift

    public struct Details : Hashable
  • Represents data related to specific email address.

    See more

    Declaration

    Swift

    public struct EmailAddress : Hashable
  • eMSP (e-Mobility Service Provider) for which the EV station operator has EV roaming agreements. It is only available for online search.

    See more

    Declaration

    Swift

    public struct EMobilityServiceProvider : Hashable
  • Represents details on the energy supplied at the charging location. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    See more

    Declaration

    Swift

    public struct EnergyMix : Hashable
  • Energy source of EV charging point. EnergyMix contains a list of this representing the energy sources. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    See more

    Declaration

    Swift

    public struct EnergySource : Hashable
  • Represents energy source type. EnergySource contains this representing the type of the energy source. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    See more

    Declaration

    Swift

    public enum EnergySourceType : UInt32, CaseIterable, Codable
  • Represents environmental impact for an environmental impact category. EnergyMix contains an list of this representing the environmental impacts of different categories. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    See more

    Declaration

    Swift

    public struct EnvironmentalImpact : Hashable
  • Represents environmental impacts category of the environmental impact for energy mix. EnvironmentalImpact contains this representing the category of the environmental impact. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    See more

    Declaration

    Swift

    public enum EnvironmentalImpactCategory : UInt32, CaseIterable, Codable
  • Represents the restriction reason of an EVChargingPool.

    See more

    Declaration

    Swift

    public enum EVAccessRestrictionReason : UInt32, CaseIterable, Codable
  • Represents the accessibility level of an EVChargingPool.

    See more

    Declaration

    Swift

    public enum EVAccessType : UInt32, CaseIterable, Codable
  • Represents a connector at the charging point. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    See more

    Declaration

    Swift

    public struct EVChargingConnector : Hashable
  • Represents the connector group at the charging location. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    See more

    Declaration

    Swift

    public struct EVChargingConnectorGroup : Hashable
  • Represents a pairing of an EVSE and its connector(s) that belong to a group. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    See more

    Declaration

    Swift

    public struct EVChargingConnectorReference : Hashable
  • Duration of the charging session when the tariff element is valid, in seconds. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    See more

    Declaration

    Swift

    public struct EVChargingDurationRange : Hashable
  • An electric vehicle (EV) charging location.

    The semantics generally follow the OCPI 2.2.1 standard.

    Known EV-specific acronyms:

    • EV: Electric Vehicle
    • OCPI: Open Charge Point Interface (a standard with a rather wide adoption worldwide, https://evroaming.org/)
    • CPO: Charge Point Operator (company that runs the EV charging location)
    • eMSP: e-Mobility Service Provider (customer-facing company)
    • EVSE: Electric Vehicle Supply Equipment (the actual charger that can charge one car at a time)

    A charging location includes a collection of one or more EV supply equipment (EVSE) instances. Typically, the charging location is the exact location of the group of EVSEs, simplified to a single point, but it can also be the entrance of a parking structure which contains these EVSEs. Each EVSE supports more precise position, where applicable.

    Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    See more

    Declaration

    Swift

    public class EVChargingLocation
    extension EVChargingLocation: NativeBase
    extension EVChargingLocation: Hashable
  • Optional features that can be requested for EV charging locations. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    See more

    Declaration

    Swift

    public enum EVChargingLocationFeature : UInt32, CaseIterable, Codable
  • Represents the times when the EVSEs at the charging location can be accessed for charging. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    See more

    Declaration

    Swift

    public struct EVChargingOpeningHours : Hashable
  • Represents exceptions to the regular opening hours schedule for EV charging locations, such as special closures or extended hours. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    See more

    Declaration

    Swift

    public struct EVChargingOpeningHoursException : Hashable
  • Opening hours schedule for EV charging locations, represented by a list of days of the week during which the location is open in the given time periods. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    See more

    Declaration

    Swift

    public struct EVChargingOpeningHoursSchedule : Hashable
  • Represents name and optionally other details about operator, suboperator, or e-Mobility service provider. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    See more

    Declaration

    Swift

    public struct EVChargingOperator : Hashable
  • Electric vehicle charging pool details.

    See more

    Declaration

    Swift

    public struct EVChargingPoolDetails : Hashable
  • Tariffs provide detailed pricing information for charging electric vehicles at a specific location. Each tariff describes how costs are calculated based on various factors such as energy consumed, time spent charging, and session duration. Tariffs are typically associated with specific connectors or connector groups, and are only included in the response when relevant data is available and requested. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    See more

    Declaration

    Swift

    public struct EVChargingTariff : Hashable
  • Represents the dimension the price component, which determines what is being charged and how:

    • time: Price per unit of time spent charging.
    • energy: Price per unit of energy consumed during charging.
    • flat: One-time fee charged per session.
    • parking time: Price per unit of time not charging but parked at the charger.

    Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    See more

    Declaration

    Swift

    public enum EVChargingTariffDimension : UInt32, CaseIterable, Codable
  • Represents a tariff element, which defines how pricing is applied. The associated condition assists the client in selecting the appropriate element for a charging session. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    See more

    Declaration

    Swift

    public struct EVChargingTariffElement : Hashable
  • Condition that the charging session needs to meet to apply the tariff element. Tariff elements may include conditions that define when they apply:

    • Time of day (e.g., 22:00–06:00)
    • Day of week (e.g., weekends only)

    Date

    Date range (e.g., seasonal pricing)
    • Charging session duration
    • Battery level thresholds (e.g., overstay fees)

    Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    See more

    Declaration

    Swift

    public struct EVChargingTariffElementCondition : Hashable
  • Represents the price component of an EV charging tariff. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    See more

    Declaration

    Swift

    public struct EVChargingTariffPriceComponent : Hashable
  • Represents a search option to choose the eMSP or CPO whose tariff should be included in the response. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    See more

    Declaration

    Swift

    public struct EVChargingTariffRequest : Hashable
  • Represents the tariff pricing model (adhoc, emsp, or cpo). Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    See more

    Declaration

    Swift

    public enum EVChargingTariffType : UInt32, CaseIterable, Codable
  • Represents access restrictions for trucks and light commercial vehicles. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    See more

    Declaration

    Swift

    public struct EVChargingTruckRestriction : Hashable
  • Represents the category of the vehicle supported at the charging point. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    See more

    Declaration

    Swift

    public enum EVChargingVehicleCategory : UInt32, CaseIterable, Codable
  • The method that will be called on the main thread when a search operation in EVSearchEngine has been completed. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    Declaration

    Swift

    public typealias EVCP3SearchCompletionHandler = (_ error: EVSearchError?, _ chargingLocations: [EVChargingLocation]?) -> Void

    Parameters

    error

    The ev search error.

    chargingLocations

    The ev charging locations.

  • Charge Point Operator (CPO) ID uses the Electric Vehicle Supply Equipment ID (EVSE ID) for an exact identification of the charging infrastructure and charging point.

    See more

    Declaration

    Swift

    public struct Evse : Hashable
  • The EVSearchEngine API provides detailed information about charging locations. It requires an online connection to execute the requests. A licence is required to use this API. Details can be found in HERE EV Charge Points API v3 - Developer Guide.

    Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    See more

    Declaration

    Swift

    public class EVSearchEngine : EVSearchInterface
    extension EVSearchEngine: NativeBase
    extension EVSearchEngine: Hashable
  • Specifies possible errors that EVSearchEngine may report. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    See more

    Declaration

    Swift

    public enum EVSearchError : UInt32, CaseIterable, Codable
  • Provides the protocol for the EVSearchEngine. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    See more

    Declaration

    Swift

    public protocol EVSearchInterface : AnyObject
  • Encapsulates additional options that control the behavior of EVSearchEngine. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    See more

    Declaration

    Swift

    public struct EVSearchOptions : Hashable
  • EVSE connector.

    See more

    Declaration

    Swift

    public struct EVSEConnector : Hashable
  • Represents an EVSE at the charging point. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    See more

    Declaration

    Swift

    public struct EVSEInfo : Hashable
  • EVSE status

    See more

    Declaration

    Swift

    public enum EVSEStatus : UInt32, CaseIterable, Codable
  • Represents facility type available at the location. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    See more

    Declaration

    Swift

    public enum FacilityType : UInt32, CaseIterable, Codable
  • Contains fuel additive information for generic fuel type.

    Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    See more

    Declaration

    Swift

    public struct FuelAdditive : Hashable
  • Defines possible fuel additives that a fuel could contain.

    Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    See more

    Declaration

    Swift

    public enum FuelAdditiveType : UInt32, CaseIterable, Codable
  • Contains information about a specific fuel station.

    Use PlaceCategory.businessAndServicesPetrolGasolineStation to find fuel stations. In the Details of a Place result you can find the associated fuel station information, if any.

    Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    See more

    Declaration

    Swift

    public struct FuelStation : Hashable
  • Defines possible fuel types provided by a fuel station.

    Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    See more

    Declaration

    Swift

    public enum FuelType : UInt32, CaseIterable, Codable
  • Contains generic fuel type info of fuel station.

    Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    See more

    Declaration

    Swift

    public struct GenericFuel : Hashable
  • GeoPlace struct represents a location object: such as a country, a city, a point of interest (POI) etc. It can be used for PersonalPlace creation, in order to provide search on custom places.

    See more

    Declaration

    Swift

    public struct GeoPlace : Hashable
  • Specifies members of Suggestion class to which input query can be matched.

    See more

    Declaration

    Swift

    public enum HighlightType : UInt32, CaseIterable, Codable
  • Holds information to which part of the text, input query was matched. The first character is denoted by a value of 0.

    See more

    Declaration

    Swift

    public class IndexRange
    extension IndexRange: NativeBase
    extension IndexRange: Hashable
  • Represents data related to specific landline phone number.

    See more

    Declaration

    Swift

    public struct LandlinePhone : Hashable
  • Contains geographical info about location

    See more

    Declaration

    Swift

    public struct LocationDetails : Hashable
  • Represents data related to specific mobile phone number.

    See more

    Declaration

    Swift

    public struct MobilePhone : Hashable
  • Provides means to populate personal places data source. Also acts as a owner of the collection of personal places. MyPlaces is memory-only object: nothing is persisted and/or sent over the network. Client has full control on how to store personal places.

    See more

    Declaration

    Swift

    public class MyPlaces
    extension MyPlaces: NativeBase
    extension MyPlaces: Hashable
  • The OfflineSearchEngine works without internet and unlocks the search and geocoding capabilities of HERE services to provide developers with unmatched flexibility to create differentiating location-enabled applications.

    It provides the same interfaces as the SearchEngine, but the results may slightly differ as the results are taken from already downloaded map data instead of initiating a new request to a HERE backend service. This way the data may be, for example, older compared to the data you may receive when using the SearchEngine. On the other hand, this class provides results faster as no online connection is necessary.

    In comparison to the SearchEngine, there are a few limitations:

    • The IDs of POIs are different and may differ among different map versions.
    • The implementation is different and the resources are limited, so the results can differ.
    • OfflineSearchEngine sometimes doesn’t return the requested number of results.

    Note: You can search only within persistent map data (downloaded via MapDownloader) or existing cached data. However, cached data may be incomplete, which can result in searches returning partial or incomplete information. Therefore, it is recommended to use persistent map data. Make sure that at least LayerConfiguration.Feature.offlineSearch is enabled. For EV rich attributes also enable LayerConfiguration.Feature.ev, for truck rich attributes also enable LayerConfiguration.Feature.truckServiceAttributes, for fuel station rich attributes also enable LayerConfiguration.Feature.fuelStationAttributes in SDKOptions.layerConfiguration.

    See more

    Declaration

    Swift

    public class OfflineSearchEngine : SearchInterface
    extension OfflineSearchEngine: NativeBase
    extension OfflineSearchEngine: Hashable
  • Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    See more

    Declaration

    Swift

    public class OfflineSearchIndex
    extension OfflineSearchIndex: NativeBase
    extension OfflineSearchIndex: Hashable
  • Protocol to get updates about progress of creating persistent map index.

    Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    See more

    Declaration

    Swift

    public protocol OfflineSearchIndexListener : AnyObject
  • Represents opening hours information.

    See more

    Declaration

    Swift

    public struct OpeningHours : Hashable
  • Represents parking type available at the location. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    See more

    Declaration

    Swift

    public enum ParkingType : UInt32, CaseIterable, Codable
  • Represents a location object, such as a country, a city, a point of interest (POI) etc.

    See more

    Declaration

    Swift

    public class Place
    extension Place: NativeBase
    extension Place: Hashable
  • Represents a category of place with different levels of granularity. This class also defines a set of most commonly used categories.

    See more

    Declaration

    Swift

    public class PlaceCategory
    extension PlaceCategory: NativeBase
    extension PlaceCategory: Hashable
  • Parameters related to HERE Places chain system.

    See more

    Declaration

    Swift

    public struct PlaceChain : Hashable
  • The filter options to specify a place. Consists of fuel, truck and EV options.

    See more

    Declaration

    Swift

    public struct PlaceFilter : Hashable
  • Parameters related to HERE Places cuisine system.

    See more

    Declaration

    Swift

    public struct PlaceFoodType : Hashable
  • The options to specify a Place id query.

    See more

    Declaration

    Swift

    public struct PlaceIdQuery : Hashable
  • The method will be called on the main thread when a search by id call has been completed.

    Declaration

    Swift

    public typealias PlaceIdSearchCompletionHandler = (_ searchError: SearchError?, _ place: Place?) -> Void

    Parameters

    searchError

    The search error.

    place

    The place.

  • The method will be called on the main thread when a search by id call has been completed.

    Declaration

    Swift

    public typealias PlaceIdSearchExtendedCompletionHandler = (_ searchError: SearchError?, _ place: Place?, _ responseDetails: ResponseDetails?) -> Void

    Parameters

    searchError

    The search error.

    place

    The place.

    responseDetails

    The response details.

  • Represents and error, which occurs during place serialization and deserialization routines.

    See more

    Declaration

    Swift

    public enum PlaceSerializationError : UInt32, CaseIterable, Codable
    extension PlaceSerializationError : Error
  • Place serialization exception

    Declaration

    Swift

    public typealias PlaceSerializationException = PlaceSerializationError
  • Specifies place type of Place result from a search query.

    See more

    Declaration

    Swift

    public enum PlaceType : UInt32, CaseIterable, Codable
  • Details about the payment options at the POI.

    Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    See more

    Declaration

    Swift

    public struct POIPaymentDetails : Hashable
  • Holds constants that represent payment methods.

    See POIPaymentDetails for usage.

    Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    See more

    Declaration

    Swift

    public struct POIPaymentMethod
  • Structure holding various information received with response to a query.

    See more

    Declaration

    Swift

    public struct ResponseDetails : Hashable
  • Encapsulates schedule details complying with the iCalendar specification: https://tools.ietf.org/html/rfc5545.

    See more

    Declaration

    Swift

    public struct ScheduleDetails : Hashable
  • The method will be called on the main thread when a search call has been completed. The first argument indicates an error in case of a failure. The second argument contains the results. Both arguments cannot be nil at the same time - or not nil at the same time.

    Declaration

    Swift

    public typealias SearchCompletionHandler = (_ searchError: SearchError?, _ places: [Place]?) -> Void

    Parameters

    searchError

    An error enum indicating what went wrong. It is nil for an operation that succeeds.

    places

    The list of search results. It is nil in case of an error.

  • The method will be called on the main thread when a search call has been completed. The first argument indicates an error in case of a failure. The second argument contains the results. Both arguments cannot be nil at the same time - or not nil at the same time.

    Declaration

    Swift

    public typealias SearchExtendedCompletionHandler = (_ searchError: SearchError?, _ places: [Place]?, _ responseDetails: ResponseDetails?) -> Void

    Parameters

    searchError

    An error enum indicating what went wrong. It is nil for an operation that succeeds.

    places

    The list of search results. It is nil in case of an error.

    responseDetails

    Additional information provided with response. It is nil in case of an error.

  • The SearchEngine API unlocks the search, geocoding and suggesting capabilities of HERE services to provide developers with unmatched flexibility to create differentiating location-enabled applications. It enables to search for HERE points of interests, forward and reverse geocode addresses and geographic coordinates from the HERE map and search for suggested addresses or place candidates based on incomplete or misspelled queries.

    It also allows to search along a given GeoPolyline set inside a GeoCorridor as part of a TextQuery.

    The SearchEngine API requires an online connection to execute the requests.

    Note: All methods are provided in two flavors. One uses a SearchCompletionHandler and the other uses a SearchExtendedCompletionHandler: The later adds a ResponseDetails result type that provides the requestId of a search request and a correlationId to identify multiple, related queries. This may be useful for debug purposes.

    See more

    Declaration

    Swift

    public class SearchEngine : SearchInterface
    extension SearchEngine: NativeBase
    extension SearchEngine: Hashable
  • Specifies possible errors that may result from a search query.

    See more

    Declaration

    Swift

    public enum SearchError : UInt32, CaseIterable, Codable
  • Provides the protocol for the online and offline search engines.

    See more

    Declaration

    Swift

    public protocol SearchInterface : AnyObject
  • Encapsulates options that control the behavior of search and suggest operations.

    See more

    Declaration

    Swift

    public struct SearchOptions : Hashable
  • The options to specify a structured query. Only supported in OfflineSearchEngine (only available for the Navigate license).

    Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    See more

    Declaration

    Swift

    public struct StructuredQuery : Hashable
  • Suggestion is meant to provide relevant suggestions to partial queries, like “restaur”, “starbu”, “eiffel”. Represents a relevant response to user queries. Suggestions (please check SuggestionType) are either: Place: SuggestionType.place Query: SuggestionType.chain or SuggestionType.category

    With “Place” you get data for a concrete place in the world. With “Query” something to follow-up, a way to perform more focused search.

    See more

    Declaration

    Swift

    public class Suggestion
    extension Suggestion: NativeBase
    extension Suggestion: Hashable
  • Specifies the type of suggestion returned for query.

    See more

    Declaration

    Swift

    public enum SuggestionType : UInt32, CaseIterable, Codable
  • The method will be called on the main thread when a suggest call has been completed. The first argument indicates an error in case of a failure. The second argument contains the results. Both arguments cannot be nil at the same time - or not nil at the same time.

    Declaration

    Swift

    public typealias SuggestCompletionHandler = (_ searchError: SearchError?, _ suggestions: [Suggestion]?) -> Void

    Parameters

    searchError

    An error enum indicating what went wrong. It is nil for an operation that succeeds.

    suggestions

    The list of suggestion results. It is nil in case of an error.

  • The method will be called on the main thread when a suggest call has been completed. The first argument indicates an error in case of a failure. The second argument contains the results. Both arguments cannot be nil at the same time - or not nil at the same time. This API is not supported by offline search.

    Declaration

    Swift

    public typealias SuggestExtendedCompletionHandler = (_ searchError: SearchError?, _ suggestions: [Suggestion]?, _ responseDetails: ResponseDetails?) -> Void

    Parameters

    searchError

    An error enum indicating what went wrong. It is nil for an operation that succeeds.

    suggestions

    The list of suggestion results. It is nil in case of an error.

    responseDetails

    Additional information provided with response. It is nil in case of an error.

  • Identifier of the place as provided by the supplier

    See more

    Declaration

    Swift

    public struct SupplierReference : Hashable
  • The options to specify a text query.

    See more

    Declaration

    Swift

    public struct TextQuery : Hashable
  • Time period when the tariff element is valid, in local time. The time period wraps around to the next day, when end time of the period TimeOfDayRange.to is smaller than the beginning TimeOfDayRange.from. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    See more

    Declaration

    Swift

    public struct TimeOfDayRange : Hashable
  • Truck amenities struct, represents availability (true/false) for each feature, except shower_count - number of showers, if data is available. Note: This is a BETA feature and thus subject to change.

    See more

    Declaration

    Swift

    public struct TruckAmenities : Hashable
  • Contains truck fuel type info of fuel station. Note: This is a BETA feature and thus subject to change.

    See more

    Declaration

    Swift

    public struct TruckFuel : Hashable
  • Contains information about images, editorials, rating and a urls to them.

    See more

    Declaration

    Swift

    public struct WebDetails : Hashable
  • Contains information about editorial article and a link to it.

    See more

    Declaration

    Swift

    public struct WebEditorial : Hashable
  • Contains image information and direct link to it.

    See more

    Declaration

    Swift

    public struct WebImage : Hashable
  • Contains information about rating and a url to review.

    See more

    Declaration

    Swift

    public struct WebRating : Hashable
  • Represents data related to specific website address

    See more

    Declaration

    Swift

    public struct WebsiteAddress : Hashable
  • Contains information about provider of the item and a direct link to the item.

    See more

    Declaration

    Swift

    public struct WebSource : Hashable
  • what3words is an alternative geocode system designed to identify any location on the planet. The system divides the world into a grid of 57 trillion 3-by-3-metre squares, each of which has a three-word address. For example, the front door of HERE’s Berlin office is identified by “///wage.mere.heap”. W3WSearchEngine allows you to convert 3 word addresses to coordinates and also coordinates to 3 word addresses.

    Note: Using W3WSearchEngine requires a licence to access HERE what3words APIs.

    Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    See more

    Declaration

    Swift

    public class W3WSearchEngine
    extension W3WSearchEngine: NativeBase
    extension W3WSearchEngine: Hashable
  • Specifies possible errors that may result from a w3w search query.

    See more

    Declaration

    Swift

    public enum W3WSearchError : UInt32, CaseIterable, Codable
  • Contains information about one of the squares in the what3words geocode system.

    Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    See more

    Declaration

    Swift

    public struct W3WSquare : Hashable
  • The method that will be called on the main thread when a search operation in W3WSearchEngine has been completed.

    Declaration

    Swift

    public typealias W3WSearchCompletionHandler = (_ searchError: W3WSearchError?, _ square: W3WSquare?) -> Void

    Parameters

    searchError

    The w3w search error.

    square

    The w3w square.