コード例 #1
0
        void UnLinkAccount(AGCAuthProviderType type)
        {
            var unLinkReq = AGCAuth.GetInstance().CurrentUser?.Unlink(type);

            unLinkReq.AddOnSuccessCallback((result) =>
            {
                Console.WriteLine("unlink success");
                owner.RefreshLinkState();
            });
            unLinkReq.AddOnFailureCallback((error) =>
            {
                Console.WriteLine("unlink failed");
            });
        }
コード例 #2
0
 public LinkItem(string name, AGCAuthProviderType providerType, bool isLinked)
 {
     Name         = name;
     ProviderType = (int)providerType;
     IsLinked     = IsLinked;
 }