Package org.mozilla.geckoview
Interface GeckoResult.CancellationDelegate
- Enclosing class:
- GeckoResult<T>
@AnyThread
public static interface GeckoResult.CancellationDelegate
Interface used to delegate cancellation operations for a
GeckoResult.-
Method Summary
Modifier and TypeMethodDescriptiondefault GeckoResult<Boolean>cancel()This method should attempt to cancel the in-progress operation for the result to which this instance was attached.
-
Method Details
-
cancel
This method should attempt to cancel the in-progress operation for the result to which this instance was attached. SeeGeckoResult.cancel()for more details.- Returns:
- A
GeckoResultresolving to "true" if cancellation was successful, "false" otherwise.
-