WebViewProviderBoundaryInterface
interface WebViewProviderBoundaryInterface
Summary
Public functions |
|
---|---|
InvocationHandler? |
addDocumentStartJavaScript( |
Unit |
addWebMessageListener( |
Array<InvocationHandler?>? |
|
WebChromeClient? |
|
WebViewClient? |
|
InvocationHandler? |
|
InvocationHandler? |
|
Unit |
insertVisualStateCallback(requestId: Long, callback: InvocationHandler?) |
Unit |
postMessageToMainFrame(message: InvocationHandler?, targetOrigin: Uri?) |
Unit |
removeWebMessageListener(jsObjectName: String?) |
Unit |
setWebViewRendererClient(webViewRendererClient: InvocationHandler?) |
Public functions
addDocumentStartJavaScript
fun addDocumentStartJavaScript(
script: String?,
allowedOriginRules: Array<String?>?
): InvocationHandler?
addWebMessageListener
fun addWebMessageListener(
jsObjectName: String?,
allowedOriginRules: Array<String?>?,
listener: InvocationHandler?
): Unit
insertVisualStateCallback
fun insertVisualStateCallback(requestId: Long, callback: InvocationHandler?): Unit
postMessageToMainFrame
fun postMessageToMainFrame(message: InvocationHandler?, targetOrigin: Uri?): Unit
setWebViewRendererClient
fun setWebViewRendererClient(webViewRendererClient: InvocationHandler?): Unit