lightbulb_outline Help shape the future of the Google Play Console, Android Studio, and Firebase. Start survey

WebView.VisualStateCallback

public static abstract class WebView.VisualStateCallback
extends Object

java.lang.Object
   ↳ android.webkit.WebView.VisualStateCallback


Callback interface supplied to WebView.postVisualStateCallback(long, WebView.VisualStateCallback) for receiving notifications about the visual state.

Summary

Public constructors

WebView.VisualStateCallback()

Public methods

abstract void onComplete(long requestId)

Invoked when the visual state is ready to be drawn in the next WebView.onDraw(Canvas).

Inherited methods

Public constructors

WebView.VisualStateCallback

added in API level 23
public WebView.VisualStateCallback ()

Public methods

onComplete

added in API level 23
public abstract void onComplete (long requestId)

Invoked when the visual state is ready to be drawn in the next WebView.onDraw(Canvas).

Parameters
requestId long: The identifier passed to WebView.postVisualStateCallback(long, WebView.VisualStateCallback) when this callback was posted.