public static interface EnelXNETManager.ScanCallback
| Modifier and Type | Interface and Description |
|---|---|
static class |
EnelXNETManager.ScanCallback.Error |
static class |
EnelXNETManager.ScanCallback.Event |
| Modifier and Type | Method and Description |
|---|---|
void |
onChargingPoint(NETChargingPoint chargingPoint,
EnelXNETManager.ScanCallback.Event event)
Called when a charging point is added, updated or it has disappeared.
|
void |
onScanError(EnelXNETManager.ScanCallback.Error error,
java.lang.Exception exception)
Called when an error is encountered before or during the scanning process.
|
void |
onScanStarted()
Called to notify the scan for charging point has been started.
|
void |
onScanStopped()
Called to notify the scan for charging point has been stopped.
|
void onScanError(EnelXNETManager.ScanCallback.Error error, java.lang.Exception exception)
If called before the scan has been effectively started, the flow is interrupted and no attempt to start the scan will be done.
If called after the scan has been started, it causes the scan to be automatically stopped
and a further call to onScanStopped() will be done.
error - A code representing the error.exception - More details about the encountered error.void onScanStarted()
void onScanStopped()
void onChargingPoint(NETChargingPoint chargingPoint, EnelXNETManager.ScanCallback.Event event)
chargingPoint - The charging point.event - The event related to the given charging point.