Braze Web View Client
WebViewClient for Braze HTML content that intercepts URL loading to handle Braze scheme actions (close, custom events), injects the JavaScript bridge, and delegates URL actions to the appropriate listener based on the Type.
Parameters
The Android Context.
Whether this client serves a Type.BANNER or Type.IN_APP_MESSAGE.
The in-app message model, required when type is Type.IN_APP_MESSAGE.
Listener for in-app message URL actions.
Listener for banner URL actions.
Optional local asset directory for WebView asset loading.
Inheritors
Constructors
Types
Properties
Functions
Sets a IWebViewClientStateListener to receive page load completion callbacks. If the page has already finished loading, the listener is notified immediately.
Handles appboy schemed ("appboy://") urls in the HTML content WebViews. If the url isn't appboy schemed, then the url is passed to the attached IInAppMessageWebViewClientListener.