R
- is the results when the operation succeeds.E
- is the exception received when the operation fails.public interface ResultListener<R extends CARResult,E extends CARException>
Modifier and Type | Method and Description |
---|---|
void |
done(E exception)
Method called when operation fails.
|
void |
done(R result)
Method called when operation succeeds.
|