TMDiscovery Web View Client
WebViewClient for handling discovery flow navigation and events in the prepurchase flow.
Functions
Link copied to clipboard
Updates the visited history for the WebView.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Handles the page becoming visible.
Link copied to clipboard
Handles the completion of a page load.
Link copied to clipboard
Handles the start of a page load.
Link copied to clipboard
Link copied to clipboard
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
Link copied to clipboard
Link copied to clipboard
Handles WebView renderer process death. Delegates to WebViewCrashHandler which removes and destroys the dead WebView, then notifies the listener so the host can tear down its own state (e.g. dismiss loading indicators, update error UI).
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Sets the listener for discovery events.
Link copied to clipboard
open override fun shouldInterceptRequest(view: WebView?, request: WebResourceRequest?): WebResourceResponse?
Intercepts resource requests for the WebView.
Link copied to clipboard
Link copied to clipboard
Determines if a URL load should be overridden.