public interface Callback
Modifier and Type | Method | Description |
---|---|---|
void |
failure(Exception exception) |
Invoked when the intent action has failed.
|
void |
success(Object result) |
Invoked when the intent action has completed successfully.
|
void success(@NullAllowed Object result)
result
- Result value.void failure(@NonNull Exception exception)
exception
- Encountered exception.Built on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.