AI-generated Key Takeaways
-
ListenableResultFuture.OnResultListenerprovides a callback mechanism for when a result becomes available. -
The
onResultmethod is called with the result object as a parameter when the result is ready. -
This interface is designed to be used with
ListenableResultFuturefor asynchronous operations.
public static interface
ListenableResultFuture.OnResultListener
Interface definition for a callback to be invoked when a result is available.
Public Method Summary
| abstract void |
onResult(T result)
|
Public Methods
public abstract void onResult (T result)
Parameters
| result |
|---|