Interface RedemptionDetailsView

    • Method Detail

      • showRedemptionDetails

        void showRedemptionDetails​(Redemption redemption)
        This will be called by the presenter after successfully receiving the redemption details from the SDK.
        Parameters:
        redemption - The redemption returned by the SDK.
      • showRedemptionNotAvailable

        void showRedemptionNotAvailable​(java.lang.String error)
        This will be called by the presenter if it fails to receive the redemption details from the SDK.
        Parameters:
        error - The error received from the SDK.
      • cancelRedemptionSucceeded

        void cancelRedemptionSucceeded()
        This will be called by the presenter after successfully cancelling a redemption.
      • cancelRedemptionFailed

        void cancelRedemptionFailed​(java.lang.String error)
        This will be called by the presenter if it fails to cancel a redemption.
        Parameters:
        error - The error received from the SDK.
      • showProgressDialog

        void showProgressDialog()
        This will be called by the presenter when it starts to redeem a reward
      • dismissProgressDialog

        void dismissProgressDialog()
        Dismiss the progress dialog of the view