WebView.VisualStateCallback


public static abstract class WebView.VisualStateCallback
extends Object

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


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

Summary

Public constructors

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

VisualStateCallback

public 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, VisualStateCallback) when this callback was posted.