TMDiscoveryWebViewClient

WebViewClient for handling discovery flow navigation and events in the prepurchase flow.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun doUpdateVisitedHistory(view: WebView?, url: String, isReload: Boolean)

Updates the visited history for the WebView.

Link copied to clipboard
open fun onFormResubmission(p0: WebView, p1: Message, p2: Message)
Link copied to clipboard
open fun onLoadResource(p0: WebView, p1: String)
Link copied to clipboard
open override fun onPageCommitVisible(view: WebView?, url: String?)

Handles the page becoming visible.

Link copied to clipboard
open override fun onPageFinished(view: WebView, url: String)

Handles the completion of a page load.

Link copied to clipboard
open override fun onPageStarted(view: WebView, url: String, favicon: Bitmap?)

Handles the start of a page load.

Link copied to clipboard
open fun onReceivedError(p0: WebView, p1: Int, p2: String, p3: String)

open override fun onReceivedError(view: WebView?, request: WebResourceRequest?, error: WebResourceError?)

Handles errors received during a page load.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onReceivedLoginRequest(p0: WebView, p1: String, p2: String?, p3: String)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onScaleChanged(p0: WebView, p1: Float, p2: Float)
Link copied to clipboard
open fun onTooManyRedirects(p0: WebView, p1: Message, p2: Message)
Link copied to clipboard
Link copied to clipboard

Sets the listener for discovery events.

Link copied to clipboard

Intercepts resource requests for the WebView.

Link copied to clipboard
Link copied to clipboard

open override fun shouldOverrideUrlLoading(view: WebView?, request: WebResourceRequest?): Boolean

Determines if a URL load should be overridden.