OutcomeReceiverCompat

Added in 1.13.0
Deprecated in 1.16.0-alpha03

@Profile.ExperimentalUrlPrefetch
interface OutcomeReceiverCompat<T, E : Throwable?> : WebViewOutcomeReceiver


Transition interface for WebViewOutcomeReceiver to support renaming in client code.

Parameters
<T>

The type of the result that's being sent.

<E : Throwable?>

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

Summary

Inherited functions

From androidx.webkit.WebViewOutcomeReceiver
Unit
onError(error: E)

Called when the asynchronous operation fails.

Unit
onResult(result: T!)

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