static void n_SaveInBackground_Lcom_parse_SaveCallback_Lcom_parse_ProgressCallback_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1)
 {
     global::Com.Parse.ParseFile        __this = global::Java.Lang.Object.GetObject <global::Com.Parse.ParseFile> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Parse.SaveCallback     p0     = global::Java.Lang.Object.GetObject <global::Com.Parse.SaveCallback> (native_p0, JniHandleOwnership.DoNotTransfer);
     global::Com.Parse.ProgressCallback p1     = global::Java.Lang.Object.GetObject <global::Com.Parse.ProgressCallback> (native_p1, JniHandleOwnership.DoNotTransfer);
     __this.SaveInBackground(p0, p1);
 }
 public static void UnlinkInBackground(global::Com.Parse.ParseUser p0, global::Com.Parse.SaveCallback p1)
 {
     if (id_unlinkInBackground_Lcom_parse_ParseUser_Lcom_parse_SaveCallback_ == IntPtr.Zero)
     {
         id_unlinkInBackground_Lcom_parse_ParseUser_Lcom_parse_SaveCallback_ = JNIEnv.GetStaticMethodID(class_ref, "unlinkInBackground", "(Lcom/parse/ParseUser;Lcom/parse/SaveCallback;)V");
     }
     JNIEnv.CallStaticVoidMethod(class_ref, id_unlinkInBackground_Lcom_parse_ParseUser_Lcom_parse_SaveCallback_, new JValue(p0), new JValue(p1));
 }
        public virtual void SaveInBackground(global::Com.Parse.SaveCallback p0, global::Com.Parse.ProgressCallback p1)
        {
            if (id_saveInBackground_Lcom_parse_SaveCallback_Lcom_parse_ProgressCallback_ == IntPtr.Zero)
            {
                id_saveInBackground_Lcom_parse_SaveCallback_Lcom_parse_ProgressCallback_ = JNIEnv.GetMethodID(class_ref, "saveInBackground", "(Lcom/parse/SaveCallback;Lcom/parse/ProgressCallback;)V");
            }

            if (GetType() == ThresholdType)
            {
                JNIEnv.CallVoidMethod(Handle, id_saveInBackground_Lcom_parse_SaveCallback_Lcom_parse_ProgressCallback_, new JValue(p0), new JValue(p1));
            }
            else
            {
                JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "saveInBackground", "(Lcom/parse/SaveCallback;Lcom/parse/ProgressCallback;)V"), new JValue(p0), new JValue(p1));
            }
        }
 public static void Link(global::Com.Parse.ParseUser p0, global::Android.Content.Context p1, global::Com.Parse.SaveCallback p2)
 {
     if (id_link_Lcom_parse_ParseUser_Landroid_content_Context_Lcom_parse_SaveCallback_ == IntPtr.Zero)
     {
         id_link_Lcom_parse_ParseUser_Landroid_content_Context_Lcom_parse_SaveCallback_ = JNIEnv.GetStaticMethodID(class_ref, "link", "(Lcom/parse/ParseUser;Landroid/content/Context;Lcom/parse/SaveCallback;)V");
     }
     JNIEnv.CallStaticVoidMethod(class_ref, id_link_Lcom_parse_ParseUser_Landroid_content_Context_Lcom_parse_SaveCallback_, new JValue(p0), new JValue(p1), new JValue(p2));
 }
        public static void Link(global::Com.Parse.ParseUser p0, string p1, string p2, string p3, string p4, global::Com.Parse.SaveCallback p5)
        {
            if (id_link_Lcom_parse_ParseUser_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Lcom_parse_SaveCallback_ == IntPtr.Zero)
            {
                id_link_Lcom_parse_ParseUser_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Lcom_parse_SaveCallback_ = JNIEnv.GetStaticMethodID(class_ref, "link", "(Lcom/parse/ParseUser;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/parse/SaveCallback;)V");
            }
            IntPtr native_p1 = JNIEnv.NewString(p1);
            IntPtr native_p2 = JNIEnv.NewString(p2);
            IntPtr native_p3 = JNIEnv.NewString(p3);
            IntPtr native_p4 = JNIEnv.NewString(p4);

            JNIEnv.CallStaticVoidMethod(class_ref, id_link_Lcom_parse_ParseUser_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Lcom_parse_SaveCallback_, new JValue(p0), new JValue(native_p1), new JValue(native_p2), new JValue(native_p3), new JValue(native_p4), new JValue(p5));
            JNIEnv.DeleteLocalRef(native_p1);
            JNIEnv.DeleteLocalRef(native_p2);
            JNIEnv.DeleteLocalRef(native_p3);
            JNIEnv.DeleteLocalRef(native_p4);
        }
Exemplo n.º 6
0
 static void n_Done_Lcom_parse_ParseException_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Parse.SaveCallback   __this = global::Java.Lang.Object.GetObject <global::Com.Parse.SaveCallback> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Parse.ParseException p0     = global::Java.Lang.Object.GetObject <global::Com.Parse.ParseException> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.Done(p0);
 }