public interface

WebViewCompat.VisualStateCallback

 androidx.webkit.WebViewCompat.VisualStateCallback

Overview

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

Summary

Methods
public voidonComplete(long requestId)

Invoked when the visual state is ready to be drawn in the next .

Methods

public void onComplete(long requestId)

Invoked when the visual state is ready to be drawn in the next .

Parameters:

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