DefaultBannerWebViewClientListener

Default IBannerWebViewClientListener that handles URL actions from Banner HTML WebViews. Processes custom event firing and external URL navigation. The default onCloseAction is a no-op; subclasses (e.g. in com.braze.ui.banners.BannerView) override it to dismiss the banner when appboy://close is intercepted.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun onCloseAction(context: Context, url: String, queryBundle: Bundle)

Called when a close URL (appboy://close) is followed in an HTML Banner.

Link copied to clipboard
open override fun onCustomEventAction(context: Context, url: String, queryBundle: Bundle)

Called when the window location is set to a Custom Event URL (appboy://customEvent) in an HTML Banner.

Link copied to clipboard
open override fun onOtherUrlAction(context: Context, url: String, queryBundle: Bundle)

Called when a non appboy scheme url is encountered.