public static interface EnelXNETManager.StopChargeCallback
| Modifier and Type | Interface and Description |
|---|---|
static class |
EnelXNETManager.StopChargeCallback.Error |
| Modifier and Type | Method and Description |
|---|---|
void |
onChargeStopped(NETChargeInfo info)
Called to notify that the charge has been stopped.
|
void |
onError(EnelXNETManager.StopChargeCallback.Error code,
java.lang.Exception exception)
Called when an error is encountered during the stop charge flow.
|
void |
onRequestSent()
Called to notify that the stop charge request has been sent, and current status is
waiting for an answer.
|
void |
onWaitingForUnplug()
Called when the stop charge command has been delivered to the charging point and its
status has changed to 'waiting for unplug'.
|
void onError(EnelXNETManager.StopChargeCallback.Error code, java.lang.Exception exception)
EnelXNETManager.stopCharge(Context, String, String, StopChargeCallback) method.code - A code representing the error.exception - More details about the encountered error.void onRequestSent()
void onWaitingForUnplug()
void onChargeStopped(NETChargeInfo info)
info - Latest available info about the stopped charge.