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
InstantiationErrorIndicates what went wrong when the instantiation was attempted.Declaration
Swift
public init() throws -
Creates a new instance of this class.
Throws
InstantiationErrorIndicates what went wrong when the instantiation was attempted.Declaration
Swift
public init(_ sdkEngine: SDKNativeEngine) throwsParameters
sdkEngineInstance of an existing SDKEngine.
-
Performs an asynchronous request for
EVChargingLocationinstances with given Place IDs.Declaration
Swift
@discardableResult public func search(ids: [String], completion: @escaping EVCP3SearchCompletionHandler) -> TaskHandleParameters
idsList of charging location identifiers.
completionCallback 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
EVSearchEngineusing the provided input options.Declaration
Swift
public func setOptions(options: EVSearchOptions)Parameters
optionsOptions used to customize how
EVSearchEnginebehaves.