ListenableResultFuture.OnResultListener

  • ListenableResultFuture.OnResultListener provides a callback mechanism for when a result becomes available.

  • The onResult method is called with the result object as a parameter when the result is ready.

  • This interface is designed to be used with ListenableResultFuture for 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