Interface SwrveCustomButtonListener


  • public interface SwrveCustomButtonListener
    Implement this interface to handle custom deep-links in your app as result of an in-app custom button. 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 customAction, java.lang.String campaignName)
      This method is invoked when a custom button has been pressed on an in-app message.
    • Method Detail

      • onAction

        void onAction​(java.lang.String customAction,
                      java.lang.String campaignName)
        This method is invoked when a custom button has been pressed on an in-app message.
        Parameters:
        customAction - custom action of button that was pressed.
        campaignName - The name of the campaign which was pressed