OutcomeReceiverCompat

Added in 1.13.0
Deprecated in 1.16.0-alpha03

@Profile.ExperimentalUrlPrefetch
public interface OutcomeReceiverCompat<T, E extends Throwable> extends WebViewOutcomeReceiver


Transition interface for WebViewOutcomeReceiver to support renaming in client code.

Parameters
<T>

The type of the result that's being sent.

<E extends Throwable>

The type of the Throwable that contains more information about the error.

Summary

Inherited methods

From androidx.webkit.WebViewOutcomeReceiver
default void
onError(@NonNull E error)

Called when the asynchronous operation fails.

abstract void
onResult(T result)

Called when the asynchronous operation succeeds and delivers a result value.