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 |
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. |