public static interface EnelXNETManager.StartChargeCallback
| Modifier and Type | Interface and Description |
|---|---|
static class |
EnelXNETManager.StartChargeCallback.Error |
| Modifier and Type | Method and Description |
|---|---|
void |
onChargeStarted(java.lang.String chargeId)
Called after the plug has been connected by the user and the charge has started.
|
void |
onError(EnelXNETManager.StartChargeCallback.Error code,
java.lang.Exception exception)
Called when an error is encountered during the start charge flow.
|
void |
onRequestSent()
Called to notify that the start charge request has been sent, and current status is
waiting for an answer.
|
void onError(EnelXNETManager.StartChargeCallback.Error code, java.lang.Exception exception)
EnelXNETManager.startCharge(Context, NETChargingPoint, String, String, StartChargeCallback)
method.code - A code representing the error.exception - More details about the encountered error.void onRequestSent()
void onChargeStarted(java.lang.String chargeId)
chargeId - The id of the charge that has been started, which can be used later for
calling EnelXNETManager.stopCharge(Context, String, String, StopChargeCallback)
and EnelXNETManager.loadCharge(Context, String, String, LoadChargeCallback)
methods.