Default In App Message Html Full View Factory
open class DefaultInAppMessageHtmlFullViewFactory(inAppMessageWebViewClientListener: IInAppMessageWebViewClientListener) : IInAppMessageViewFactory
Default IInAppMessageViewFactory for HTML Full in-app messages. Inflates an InAppMessageHtmlFullView, configures the WebView with a JavaScript bridge, and attaches the provided IInAppMessageWebViewClientListener for URL handling.
Parameters
in App Message Web View Client Listener
Listener for WebView client URL actions.
Functions
Link copied to clipboard
open override fun createInAppMessageView(activity: Activity, inAppMessage: IInAppMessage): InAppMessageHtmlFullView?
This method should either inflate or programmatically create a new View that will be used to display an in-app message. A new View must be created on every call. This prevents the memory leak that would occur if the View was shared by multiple Activity classes.