Package com.swrve.sdk.messaging
Interface SwrveDismissButtonListener
-
public interface SwrveDismissButtonListener
Implement this interface to get notified of dismiss button clicks on an in-app message. Use SwrveCustomButtonListener instead if you want to implement logic for your custom buttons. Note: the methods in this interface will be invoked from the UI thread.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onAction(java.lang.String campaignSubject, java.lang.String buttonName, java.lang.String campaignName)
This method is invoked when a dismiss button has been pressed on an in-app message or when the back button was pressed and the message was closed.
-
-
-
Method Detail
-
onAction
void onAction(java.lang.String campaignSubject, java.lang.String buttonName, java.lang.String campaignName)
This method is invoked when a dismiss button has been pressed on an in-app message or when the back button was pressed and the message was closed.- Parameters:
campaignSubject
- Campaign subjectbuttonName
- Dismiss button name or null when the back button was pressedcampaignName
- The name of the campaign which is being dismissed
-
-