Accompanist Web View Client
AccompanistWebViewClient
A parent class implementation of WebViewClient that can be subclassed to add custom behaviour.
As Accompanist Web needs to set its own web client to function, it provides this intermediary class that can be overriden if further custom behaviour is required.
Constructors
AccompanistWebViewClient
Link copied to clipboard
fun AccompanistWebViewClient()
Content copied to clipboard
Functions
doUpdateVisitedHistory
Link copied to clipboard
open override fun doUpdateVisitedHistory(view: WebView?, url: String?, isReload: Boolean)
Content copied to clipboard
onFormResubmission
Link copied to clipboard
onLoadResource
Link copied to clipboard
onPageCommitVisible
Link copied to clipboard
onPageFinished
Link copied to clipboard
onPageStarted
Link copied to clipboard
open override fun onPageStarted(view: WebView?, url: String?, favicon: Bitmap?)
Content copied to clipboard
onReceivedClientCertRequest
Link copied to clipboard
onReceivedError
Link copied to clipboard
open override fun onReceivedError(view: WebView?, request: WebResourceRequest?, error: WebResourceError?)
Content copied to clipboard
onReceivedHttpAuthRequest
Link copied to clipboard
open fun onReceivedHttpAuthRequest(p0: WebView, p1: HttpAuthHandler, p2: String, p3: String)
Content copied to clipboard
onReceivedHttpError
Link copied to clipboard
open fun onReceivedHttpError(p0: WebView, p1: WebResourceRequest, p2: WebResourceResponse)
Content copied to clipboard
onReceivedLoginRequest
Link copied to clipboard
open fun onReceivedLoginRequest(p0: WebView, p1: String, p2: String?, p3: String)
Content copied to clipboard
onReceivedSslError
Link copied to clipboard
open fun onReceivedSslError(p0: WebView, p1: SslErrorHandler, p2: SslError)
Content copied to clipboard
onRenderProcessGone
Link copied to clipboard
open fun onRenderProcessGone(p0: WebView, p1: RenderProcessGoneDetail): Boolean
Content copied to clipboard
onSafeBrowsingHit
Link copied to clipboard
open fun onSafeBrowsingHit(p0: WebView, p1: WebResourceRequest, p2: Int, p3: SafeBrowsingResponse)
Content copied to clipboard
onScaleChanged
Link copied to clipboard
onTooManyRedirects
Link copied to clipboard
onUnhandledKeyEvent
Link copied to clipboard
shouldInterceptRequest
Link copied to clipboard
open fun shouldInterceptRequest(p0: WebView, p1: WebResourceRequest): WebResourceResponse?
Content copied to clipboard
open fun shouldInterceptRequest(p0: WebView, p1: String): WebResourceResponse?
Content copied to clipboard
shouldOverrideKeyEvent
Link copied to clipboard
shouldOverrideUrlLoading
Link copied to clipboard
open override fun shouldOverrideUrlLoading(view: WebView?, request: WebResourceRequest?): Boolean
Content copied to clipboard