TWSViewInterceptor

fun interface TWSViewInterceptor

TWSViewInterceptor is a functional interface used to intercept URLs within a WebView. This interface provides a single method, handleUrl, which takes a URL as input and returns a Boolean indicating whether the URL has been handled by the application.

Usage:

  • Implement this interface to customize URL interception behavior.

  • Use handleUrl to determine if a URL should be handled internally or externally (e.g., deep linking).

Inheritors

Functions

Link copied to clipboard
abstract fun handleUrl(url: Uri): Boolean