OutcomeReceiverCompat

Added in 1.13.0
Deprecated in 1.16.0

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


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)

This method is deprecated. Deprecated in Java

abstract void
onResult(T result)

This method is deprecated. Deprecated in Java