|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LocalStorageCallback
Callback for asynchronous local storage access from server side code.
Nested Class Summary | |
---|---|
static interface |
LocalStorageCallback.FailureEvent
|
Method Summary | |
---|---|
void |
onFailure(LocalStorageCallback.FailureEvent error)
Called when something went wrong with the local storage access |
void |
onSuccess(String value)
Called when access was successful |
Method Detail |
---|
void onSuccess(String value)
value
- the value fetched from local storagevoid onFailure(LocalStorageCallback.FailureEvent error)
error
- A LocalStorageCallback.FailureEvent
containing an error message.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |