isRegisteredWebView

fun isRegisteredWebView(webView: WebView, resultCallback: (result: Boolean) -> Unit)

Check whether the WebView is registered properly or not. This method must be called on UI Thread for executing methods of WebView successfully. If you call this method immediately after registering the webview, you may get incorrect results.

Parameters

webView

the WebView to check.

resultCallback

the callback to receive the result. The result is true if the WebView is registered, false otherwise.