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 EVChargingLocation instances with given Place IDs.

    Declaration

    Swift

    @discardableResult
    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.