Exemplo n.º 1
0
 public void Authenticate(Google.AuthenticateDelegate callback)
 {
     Log.Debug("[GoogleiOS] not supported API");
     if (null != callback)
     {
         Result result = new Result(Result.NETMARBLES_DOMAIN, Result.NOT_SUPPORTED, "Not supported channel");
         callback(result);
     }
 }
Exemplo n.º 2
0
        public int SetAuthenticateCalblack(Google.AuthenticateDelegate callback)
        {
            if (null == callback)
            {
                return(0);
            }

            int handlerNum = CallbackManager.AddHandler(delegate(CallbackMessage message)
            {
                Log.Debug("[GoogleCallback] AuthenticateCalblack: " + message.ToString());

                Result result = message.GetResult();
                if (null != callback)
                {
                    callback(result);
                }
            });

            return(handlerNum);
        }
Exemplo n.º 3
0
 public void Authenticate(Google.AuthenticateDelegate callback)
 {
 }
Exemplo n.º 4
0
        public void Authenticate(Google.AuthenticateDelegate callback)
        {
            int handlerNum = googleCallback.SetAuthenticateCalblack(callback);

            googleAndroidClass.CallStatic("nmg_google_authenticate", handlerNum);
        }