EVSearchInterface
public protocol EVSearchInterface : AnyObject
Provides the protocol for the EVSearchEngine.
Note: This is a beta release of this feature and may contain bugs or exhibit unexpected behaviour. Related APIs are subject to change without a deprecation process.
-
Performs an asynchronous request for
EVChargingLocationinstances with given Place IDs.Declaration
Swift
@discardableResult 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.