EVSearchEngine (API Reference)
Class EVSearchEngine
- All Implemented Interfaces:
EVSearchInterface
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.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance of this class.EVSearchEngine(SDKNativeEngine sdkEngine) Creates a new instance of this class. -
Method Summary
Modifier and TypeMethodDescriptionsearch(List<String> ids, EVSearchCallback callback) Performs an asynchronous request forEVChargingLocationinstances with given Place IDs.voidsetOptions(EVSearchOptions options) Configures the behavior ofEVSearchEngineusing the provided input options.
-
Constructor Details
-
EVSearchEngine
Creates a new instance of this class.
- Throws:
InstantiationErrorException-Indicates what went wrong when the instantiation was attempted.
-
EVSearchEngine
Creates a new instance of this class.
- Parameters:
sdkEngine-Instance of an existing SDKEngine.
- Throws:
InstantiationErrorException-Indicates what went wrong when the instantiation was attempted.
-
-
Method Details
-
setOptions
Configures the behavior of
EVSearchEngineusing the provided input options.- Parameters:
options-Options used to customize how
EVSearchEnginebehaves.
-
search
Performs an asynchronous request for
EVChargingLocationinstances with given Place IDs.- Specified by:
searchin interfaceEVSearchInterface- Parameters:
ids-List of charging location identifiers.
callback-Callback which receives the result on the main thread.
- Returns:
Handle that will be used to manipulate the execution of the task.
-