public void OnInitFinished(JSONObject data, IO.Branch.Referral.BranchError error)
        {
            if (callback == null)
            {
                return;
            }

            if (error == null)
            {
                callback.IdentitySet(BranchAndroidUtils.ToDictionary(data));
            }
            else
            {
                BranchError err = new BranchError(error.Message, error.ErrorCode);
                callback.IdentityRequestError(err);
            }
        }
        public void SetIdentityCallback(NSDictionary data, NSError error)
        {
            if (callback == null)
            {
                return;
            }

            if (error == null)
            {
                callback.IdentitySet(BranchIOSUtils.ToDictionary(data));
            }
            else
            {
                BranchError err = new BranchError(error.Description, (int)error.Code);
                callback.IdentityRequestError(err);
            }
        }