Most visited

Recently visited

Added in API level 23

WebView.VisualStateCallback

public static abstract class WebView.VisualStateCallback
extends Object

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


提供给 postVisualStateCallback(long, WebView.VisualStateCallback)回调接口用于接收关于视觉状态的通知。

Summary

Public constructors

WebView.VisualStateCallback()

Public methods

abstract void onComplete(long requestId)

当视觉状态准备好在下一个 onDraw(Canvas)绘制时 onDraw(Canvas)

Inherited methods

From class java.lang.Object

Public constructors

WebView.VisualStateCallback

Added in API level 23
WebView.VisualStateCallback ()

Public methods

onComplete

Added in API level 23
void onComplete (long requestId)

当视觉状态准备好在下一个 onDraw(Canvas)绘制时 onDraw(Canvas)

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

Hooray!