public interface IInAppMessageWebViewClientListener
IInAppMessageWebViewClientListener
is called at specific events during the display of an Html
In-App Message. Button clicks that occur inside an HTML In-App Message are routed to this listener
and not the IInAppMessageViewLifecycleListener
. However, the display lifecycle of the HTML In-App Message is
still handled by the IInAppMessageViewLifecycleListener
.
See InAppMessageWebViewClient
.Modifier and Type | Method and Description |
---|---|
void |
onCloseAction(IInAppMessage inAppMessage,
java.lang.String url,
android.os.Bundle queryBundle)
Called when a close URL (appboy://close) is followed in an HTML In App Message
|
void |
onCustomEventAction(IInAppMessage inAppMessage,
java.lang.String url,
android.os.Bundle queryBundle)
Called when the window location is set to a Custom Event URL (appboy://customEvent) in an HTML In App Message
|
void |
onNewsfeedAction(IInAppMessage inAppMessage,
java.lang.String url,
android.os.Bundle queryBundle)
Called when a Newsfeed URL (appboy://newsfeed) is followed in an HTML In App Message
|
void |
onOtherUrlAction(IInAppMessage inAppMessage,
java.lang.String url,
android.os.Bundle queryBundle)
Called when a non `appboy` scheme url is encountered.
|
void onCloseAction(IInAppMessage inAppMessage, java.lang.String url, android.os.Bundle queryBundle)
inAppMessage
- the inAppMessageurl
- the url that triggered the closequeryBundle
- a bundle of the query part of urlvoid onNewsfeedAction(IInAppMessage inAppMessage, java.lang.String url, android.os.Bundle queryBundle)
inAppMessage
- the inAppMessageurl
- the url that triggered the actionqueryBundle
- a bundle of the query part of urlvoid onCustomEventAction(IInAppMessage inAppMessage, java.lang.String url, android.os.Bundle queryBundle)
inAppMessage
- the inAppMessageurl
- the url that triggered the actionqueryBundle
- a bundle of the query part of urlvoid onOtherUrlAction(IInAppMessage inAppMessage, java.lang.String url, android.os.Bundle queryBundle)
inAppMessage
- the inAppMessageurl
- the url pressedqueryBundle
- a bundle of the query part of url