ListenableResultFuture.OnResultListener
Interface definition for a callback to be invoked when a result is available.
Public Methods
public
abstract
void
onResult
(T result)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-07 UTC.
[null,null,["Last updated 2025-02-07 UTC."],[[["`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."]]],[]]