WebViewCompat.VisualStateCallback


interface WebViewCompat.VisualStateCallback


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

Summary

Public functions

Unit
@UiThread
onComplete(requestId: Long)

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

Public functions

onComplete

Added in 1.1.0
@UiThread
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.