public class DefaultInAppMessageWebViewClientListener extends java.lang.Object implements IInAppMessageWebViewClientListener
| Constructor and Description |
|---|
DefaultInAppMessageWebViewClientListener() |
| 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.
|
public DefaultInAppMessageWebViewClientListener()
public void onCloseAction(IInAppMessage inAppMessage, java.lang.String url, android.os.Bundle queryBundle)
IInAppMessageWebViewClientListeneronCloseAction in interface IInAppMessageWebViewClientListenerinAppMessage - the inAppMessageurl - the url that triggered the closequeryBundle - a bundle of the query part of urlpublic void onNewsfeedAction(IInAppMessage inAppMessage, java.lang.String url, android.os.Bundle queryBundle)
IInAppMessageWebViewClientListeneronNewsfeedAction in interface IInAppMessageWebViewClientListenerinAppMessage - the inAppMessageurl - the url that triggered the actionqueryBundle - a bundle of the query part of urlpublic void onCustomEventAction(IInAppMessage inAppMessage, java.lang.String url, android.os.Bundle queryBundle)
IInAppMessageWebViewClientListeneronCustomEventAction in interface IInAppMessageWebViewClientListenerinAppMessage - the inAppMessageurl - the url that triggered the actionqueryBundle - a bundle of the query part of urlpublic void onOtherUrlAction(IInAppMessage inAppMessage, java.lang.String url, android.os.Bundle queryBundle)
IInAppMessageWebViewClientListeneronOtherUrlAction in interface IInAppMessageWebViewClientListenerinAppMessage - the inAppMessageurl - the url pressedqueryBundle - a bundle of the query part of url