evSearch

Performs a synchronous Electric Vehicle search computing action based on the provided EvSearchOptions object and delivers the Result by the provided EvSearchResponse, or by a SearchFailure if the action fails.

Important: This is a Public Preview API. It may be changed or removed at any time.

Return

The Result contains a EvSearchResponse in if the call succeeds or a SearchFailure if it fails.

Parameters

options

The object which contains the data necessary to execute the EV search action.


open override fun evSearch(options: EvSearchOptions, callback: EvSearchCallback): Cancellable

Performs an asynchronous Electric Vehicle (EV) search computing action based on the provided EvSearchOptions object and returns the result by the provided EvSearchCallback.

Important: This is a Public Preview API. It may be changed or removed at any time.

Return

Cancellable search operation.

Parameters

options

The configuration options for the search.

callback

The EvSearchCallback invoked when the EV search operation has been finished either successfully or with an error. The callback will be executed in the main thread.