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 |
Public constructors
VisualStateCallback
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. |