public void LoadRewardsCallback(bool changed, IO.Branch.Referral.BranchError error) { if (callback == null) { return; } if (error == null) { callback.RewardsLoaded(); } else { BranchError err = new BranchError(error.Message, (int)error.ErrorCode); callback.RewardsRequestError(err); } }
public void LoadRewardsCallback(bool changed, NSError error) { if (callback == null) { return; } if (error == null) { callback.RewardsLoaded(); } else { BranchError err = new BranchError(error.Description, (int)error.Code); callback.RewardsRequestError(err); } }