public abstract static class SyncableIBeaconConnection.SyncWriteListener
extends java.lang.Object
Abstract class used as listener to notify about updating device and syncing with REST API
Current implementation does nothing
Modifier and Type | Field and Description |
---|---|
static int |
SYNC_NOT_IMPLEMENTED_YET
The constant SYNC_NOT_IMPLEMENTED_YET.
|
Constructor and Description |
---|
SyncWriteListener() |
Modifier and Type | Method and Description |
---|---|
void |
onSuccess()
Invoked when beacon characteristics manipulation was success and invoking REST API succeed
|
void |
onSyncFailed(ClientException e)
Invoked when beacon characteristics manipulation was success, but invoking REST API failed
|
void |
onWriteFailed()
Invoked when beacon characteristics manipulation failed.
|
public static final int SYNC_NOT_IMPLEMENTED_YET
public void onWriteFailed()
If so no attempt will be done to update REST API
public void onSyncFailed(ClientException e)
Invoked when beacon characteristics manipulation was success, but invoking REST API failed
No attempts to restore beacon old characteristics will be done
e
- the epublic void onSuccess()
Invoked when beacon characteristics manipulation was success and invoking REST API succeed