RewardResponderDelegate

public protocol RewardResponderDelegate : AnyObject

Undocumented

  • This method is called whenever there is an error on redeeming of a Reward.

    Declaration

    Swift

    func onFailure(with error: Error)
  • This method is called on a successful redemption of a Reward.

    Declaration

    Swift

    func onSuccess(with apiResponse: APIResponse<Reward.ResponseInfo>)