The Android Developer Challenge is back! Submit your idea before December 2.

VisualStateCallback

interface VisualStateCallback
androidx.webkit.WebViewCompat.VisualStateCallback

Callback interface supplied to postVisualStateCallback for receiving notifications about the visual state.

Summary

Public methods

abstract Unit
onComplete(requestId: Long)

Invoked when the visual state is ready to be drawn in the next WebView#onDraw.

Public methods

onComplete

@UiThread abstract fun onComplete(requestId: Long): Unit

Invoked when the visual state is ready to be drawn in the next WebView#onDraw.

Parameters
requestId Long: The identifier passed to postVisualStateCallback when this callback was posted.