WebViewProviderBoundaryInterface

interface WebViewProviderBoundaryInterface


Summary

Public functions

addDocumentStartJavaScript

fun addDocumentStartJavaScript(
    script: String?,
    allowedOriginRules: Array<String?>?
): InvocationHandler?

addWebMessageListener

fun addWebMessageListener(
    jsObjectName: String?,
    allowedOriginRules: Array<String?>?,
    listener: InvocationHandler?
): Unit

createWebMessageChannel

fun createWebMessageChannel(): Array<InvocationHandler?>?

getWebChromeClient

fun getWebChromeClient(): WebChromeClient?

getWebViewClient

fun getWebViewClient(): WebViewClient?

getWebViewRenderer

fun getWebViewRenderer(): InvocationHandler?

getWebViewRendererClient

fun getWebViewRendererClient(): InvocationHandler?

insertVisualStateCallback

fun insertVisualStateCallback(requestId: Long, callback: InvocationHandler?): Unit

postMessageToMainFrame

fun postMessageToMainFrame(message: InvocationHandler?, targetOrigin: Uri?): Unit

removeWebMessageListener

fun removeWebMessageListener(jsObjectName: String?): Unit

setWebViewRendererClient

fun setWebViewRendererClient(webViewRendererClient: InvocationHandler?): Unit