WebUiClient

private class WebUiClient(val onLoadingChanged: (Boolean) -> Unit = {}) : WebViewClient(source)

Coordinates WebUiClient behavior in the SDAI presentation layer.

Author

Dmitriy Moroz

Constructors

Link copied to clipboard
constructor(onLoadingChanged: (Boolean) -> Unit = {})

Properties

Link copied to clipboard
private val onLoadingChanged: (Boolean) -> Unit

Exposes the onLoadingChanged value used by the SDAI presentation layer.

Functions

Link copied to clipboard
open fun doUpdateVisitedHistory(view: WebView?, url: String?, isReload: Boolean)
Link copied to clipboard
open fun onFormResubmission(view: WebView?, dontResend: Message?, resend: Message?)
Link copied to clipboard
open fun onLoadResource(view: WebView?, url: String?)
Link copied to clipboard
open fun onPageCommitVisible(view: WebView?, url: String?)
Link copied to clipboard
open override fun onPageFinished(view: WebView?, url: String?)
Link copied to clipboard
open override fun onPageStarted(view: WebView?, url: String?, favicon: Bitmap?)
Link copied to clipboard
Link copied to clipboard
open fun onReceivedError(view: WebView?, request: WebResourceRequest?, error: WebResourceError?)
open fun onReceivedError(view: WebView?, errorCode: Int, description: String?, failingUrl: String?)
Link copied to clipboard
open fun onReceivedHttpAuthRequest(view: WebView?, handler: HttpAuthHandler?, host: String?, realm: String?)
Link copied to clipboard
open fun onReceivedHttpError(view: WebView?, request: WebResourceRequest?, errorResponse: WebResourceResponse?)
Link copied to clipboard
open fun onReceivedLoginRequest(view: WebView?, realm: String?, account: String?, args: String?)
Link copied to clipboard
open fun onReceivedSslError(view: WebView?, handler: SslErrorHandler?, error: SslError?)
Link copied to clipboard
Link copied to clipboard
open fun onSafeBrowsingHit(view: WebView?, request: WebResourceRequest?, threatType: Int, callback: SafeBrowsingResponse?)
Link copied to clipboard
open fun onScaleChanged(view: WebView?, oldScale: Float, newScale: Float)
Link copied to clipboard
open fun onTooManyRedirects(view: WebView?, cancelMsg: Message?, continueMsg: Message?)
Link copied to clipboard
open fun onUnhandledKeyEvent(view: WebView?, event: KeyEvent?)
Link copied to clipboard
Link copied to clipboard
open fun shouldOverrideKeyEvent(view: WebView?, event: KeyEvent?): Boolean
Link copied to clipboard
open override fun shouldOverrideUrlLoading(view: WebView?, request: WebResourceRequest?): Boolean
open override fun shouldOverrideUrlLoading(view: WebView?, url: String?): Boolean