EVSearchInterface
public protocol EVSearchInterface : AnyObject
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.
-
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.