public void Authenticate(global::Com.Parse.Auth.IParseAuthenticationProviderParseAuthenticationCallback p0)
 {
     if (id_authenticate_Lcom_parse_auth_ParseAuthenticationProvider_ParseAuthenticationCallback_ == IntPtr.Zero)
     {
         id_authenticate_Lcom_parse_auth_ParseAuthenticationProvider_ParseAuthenticationCallback_ = JNIEnv.GetMethodID(class_ref, "authenticate", "(Lcom/parse/auth/ParseAuthenticationProvider$ParseAuthenticationCallback;)V");
     }
     JNIEnv.CallVoidMethod(Handle, id_authenticate_Lcom_parse_auth_ParseAuthenticationProvider_ParseAuthenticationCallback_, new JValue(p0));
 }
Example #2
0
        public virtual void Authenticate(global::Com.Parse.Auth.IParseAuthenticationProviderParseAuthenticationCallback p0)
        {
            if (id_authenticate_Lcom_parse_auth_ParseAuthenticationProvider_ParseAuthenticationCallback_ == IntPtr.Zero)
            {
                id_authenticate_Lcom_parse_auth_ParseAuthenticationProvider_ParseAuthenticationCallback_ = JNIEnv.GetMethodID(class_ref, "authenticate", "(Lcom/parse/auth/ParseAuthenticationProvider$ParseAuthenticationCallback;)V");
            }

            if (GetType() == ThresholdType)
            {
                JNIEnv.CallVoidMethod(Handle, id_authenticate_Lcom_parse_auth_ParseAuthenticationProvider_ParseAuthenticationCallback_, new JValue(p0));
            }
            else
            {
                JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "authenticate", "(Lcom/parse/auth/ParseAuthenticationProvider$ParseAuthenticationCallback;)V"), new JValue(p0));
            }
        }
Example #3
0
 static void n_Authenticate_Lcom_parse_auth_ParseAuthenticationProvider_ParseAuthenticationCallback_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Parse.Auth.AnonymousAuthenticationProvider __this = global::Java.Lang.Object.GetObject <global::Com.Parse.Auth.AnonymousAuthenticationProvider> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Parse.Auth.IParseAuthenticationProviderParseAuthenticationCallback p0 = (global::Com.Parse.Auth.IParseAuthenticationProviderParseAuthenticationCallback)global::Java.Lang.Object.GetObject <global::Com.Parse.Auth.IParseAuthenticationProviderParseAuthenticationCallback> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.Authenticate(p0);
 }
 static void n_OnCancel(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Parse.Auth.IParseAuthenticationProviderParseAuthenticationCallback __this = global::Java.Lang.Object.GetObject <global::Com.Parse.Auth.IParseAuthenticationProviderParseAuthenticationCallback> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.OnCancel();
 }
 static void n_OnSuccess_Lorg_json_JSONObject_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Parse.Auth.IParseAuthenticationProviderParseAuthenticationCallback __this = global::Java.Lang.Object.GetObject <global::Com.Parse.Auth.IParseAuthenticationProviderParseAuthenticationCallback> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Org.Json.JSONObject p0 = global::Java.Lang.Object.GetObject <global::Org.Json.JSONObject> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.OnSuccess(p0);
 }
 static void n_OnError_Ljava_lang_Throwable_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Parse.Auth.IParseAuthenticationProviderParseAuthenticationCallback __this = global::Java.Lang.Object.GetObject <global::Com.Parse.Auth.IParseAuthenticationProviderParseAuthenticationCallback> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Java.Lang.Throwable p0 = global::Java.Lang.Object.GetObject <global::Java.Lang.Throwable> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.OnError(p0);
 }