public void OnInitFinished(JSONObject data, IO.Branch.Referral.BranchError error) { if (callback == null) { return; } if (error == null) { callback.InitSessionComplete(BranchAndroidUtils.ToDictionary(data)); } else { BranchError err = new BranchError(error.Message, error.ErrorCode); callback.SessionRequestError(err); } }
public void OnInitFinished(IO.Branch.Indexing.BranchUniversalObject buo, IO.Branch.Referral.Util.LinkProperties blp, IO.Branch.Referral.BranchError error) { if (callback == null) { return; } if (error == null) { callback.InitSessionComplete(new BranchUniversalObject(BranchAndroidUtils.ToDictionary(buo)), new BranchLinkProperties(BranchAndroidUtils.ToDictionary(blp))); } else { BranchError err = new BranchError(error.Message, error.ErrorCode); callback.SessionRequestError(err); } }