EVSearchEngine

public class EVSearchEngine : EVSearchInterface
extension EVSearchEngine: NativeBase
extension EVSearchEngine: 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.

  • Creates a new instance of this class.

    Throws

    InstantiationError Indicates what went wrong when the instantiation was attempted.

    Declaration

    Swift

    public init() throws
  • Creates a new instance of this class.

    Throws

    InstantiationError Indicates what went wrong when the instantiation was attempted.

    Declaration

    Swift

    public init(_ sdkEngine: SDKNativeEngine) throws

    Parameters

    sdkEngine

    Instance of an existing SDKEngine.

  • Performs an asynchronous request for EVChargingLocation instances with given Place IDs.

    Declaration

    Swift

    @discardableResult
    public func search(ids: [String], completion: @escaping EVCP3SearchCompletionHandler) -> TaskHandle

    Parameters

    ids

    List of charging location identifiers.

    completion

    Callback which receives the result on the main thread.

    Return Value

    Handle that will be used to manipulate the execution of the task.

  • Configures the behavior of EVSearchEngine using the provided input options.

    Declaration

    Swift

    public func setOptions(options: EVSearchOptions)

    Parameters

    options

    Options used to customize how EVSearchEngine behaves.