In App Message Web View Client
open class InAppMessageWebViewClient(context: Context, inAppMessage: IInAppMessage, inAppMessageWebViewClientListener: IInAppMessageWebViewClientListener?, assetDirectoryUrl: String? = null) : BrazeWebViewClient
InAppMessageWebViewClient.
Parameters
context
in App Message
The in-app message being displayed.
in App Message Web View Client Listener
asset Directory Url
The directory that preloaded assets are loaded in. Required when inAppMessage.messageType is HTML_FULL. For all other message types, this must be null.
Constructors
Link copied to clipboard
constructor(context: Context, inAppMessage: IInAppMessage, inAppMessageWebViewClientListener: IInAppMessageWebViewClientListener?, assetDirectoryUrl: String? = null)
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onReceivedHttpAuthRequest(view: WebView?, handler: HttpAuthHandler?, host: String?, realm: String?)
Link copied to clipboard
open fun onReceivedHttpError(view: WebView?, request: WebResourceRequest?, errorResponse: WebResourceResponse?)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onSafeBrowsingHit(view: WebView?, request: WebResourceRequest?, threatType: Int, callback: SafeBrowsingResponse?)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Sets a IWebViewClientStateListener to receive page load completion callbacks. If the page has already finished loading, the listener is notified immediately.
Link copied to clipboard
open override fun shouldInterceptRequest(view: WebView?, request: WebResourceRequest?): WebResourceResponse?
Link copied to clipboard
Link copied to clipboard
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.