public static interface EnelXBLEManager.StartChargeCallback
| Modifier and Type | Interface and Description |
|---|---|
static class |
EnelXBLEManager.StartChargeCallback.Error |
| Modifier and Type | Method and Description |
|---|---|
void |
onChargeStarted()
Called after the plug has been connected by the user and the charge has started.
|
void |
onError(EnelXBLEManager.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 to the charging point.
|
void |
onWaitingForPlug()
Called when the start charge command has been delivered to the charging point and its
status has changed to 'waiting for plug'.
|
void onError(EnelXBLEManager.StartChargeCallback.Error code, java.lang.Exception exception)
EnelXBLEManager.startCharge(Context, BLEChargingPoint, String, StartChargeCallback)
method.code - A code representing the error.exception - More details about the encountered error.void onRequestSent()
void onWaitingForPlug()
void onChargeStarted()