Interface InAppMessageEventListener
-
- All Implemented Interfaces:
-
com.adobe.marketing.mobile.services.ui.PresentationEventListener
public interface InAppMessageEventListener implements PresentationEventListener<InAppMessage>
Interface for listening to events related to an InAppMessage presentation.
-
-
Method Summary
Modifier and Type Method Description abstract UnitonBackPressed(Presentable<InAppMessage> message)Invoked when the back button is pressed via a button or a gesture while the InAppMessage is being presented. abstract BooleanonUrlLoading(Presentable<InAppMessage> message, String url)Invoked when a url is about to be loaded into the InAppMessage WebView. -
-
Method Detail
-
onBackPressed
abstract Unit onBackPressed(Presentable<InAppMessage> message)
Invoked when the back button is pressed via a button or a gesture while the InAppMessage is being presented.
-
onUrlLoading
abstract Boolean onUrlLoading(Presentable<InAppMessage> message, String url)
Invoked when a url is about to be loaded into the InAppMessage WebView.
- Parameters:
message- the InAppMessage that is being presentedurl- the url that is about to be loaded- Returns:
true if the url will be handled, false otherwise
-
-
-
-