Google is committed to advancing racial equity for Black communities. See how.
Added in API level 23

VisualStateCallback

abstract class VisualStateCallback
kotlin.Any
   ↳ android.webkit.WebView.VisualStateCallback

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

Summary

Public constructors

Public methods

abstract Unit
onComplete(requestId: Long)

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

Public constructors

<init>

VisualStateCallback()

Public methods

onComplete

Added in API level 23
abstract fun onComplete(requestId: Long): Unit

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

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