public void OnLogoutFinished(bool changed, IO.Branch.Referral.BranchError error)
        {
            if (callback == null)
            {
                return;
            }

            if (error == null)
            {
                callback.LogoutComplete();
            }
            else
            {
                BranchError err = new BranchError(error.Message, error.ErrorCode);
                callback.IdentityRequestError(err);
            }
        }
        public void LogoutCallback(bool status, NSError error)
        {
            if (callback == null)
            {
                return;
            }

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