static void n_GetDataInBackground_Lcom_parse_GetDataCallback_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.GetDataCallback  p0     = global::Java.Lang.Object.GetObject <global::Com.Parse.GetDataCallback> (native_p0, JniHandleOwnership.DoNotTransfer);
     global::Com.Parse.ProgressCallback p1     = global::Java.Lang.Object.GetObject <global::Com.Parse.ProgressCallback> (native_p1, JniHandleOwnership.DoNotTransfer);
     __this.GetDataInBackground(p0, p1);
 }
 static void n_Done_arrayBLcom_parse_ParseException_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1)
 {
     global::Com.Parse.GetDataCallback __this = global::Java.Lang.Object.GetObject <global::Com.Parse.GetDataCallback> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     byte[] p0 = (byte[])JNIEnv.GetArray(native_p0, JniHandleOwnership.DoNotTransfer, typeof(byte));
     global::Com.Parse.ParseException p1 = global::Java.Lang.Object.GetObject <global::Com.Parse.ParseException> (native_p1, JniHandleOwnership.DoNotTransfer);
     __this.Done(p0, p1);
     if (p0 != null)
     {
         JNIEnv.CopyArray(p0, native_p0);
     }
 }
        public virtual void GetDataInBackground(global::Com.Parse.GetDataCallback p0, global::Com.Parse.ProgressCallback p1)
        {
            if (id_getDataInBackground_Lcom_parse_GetDataCallback_Lcom_parse_ProgressCallback_ == IntPtr.Zero)
            {
                id_getDataInBackground_Lcom_parse_GetDataCallback_Lcom_parse_ProgressCallback_ = JNIEnv.GetMethodID(class_ref, "getDataInBackground", "(Lcom/parse/GetDataCallback;Lcom/parse/ProgressCallback;)V");
            }

            if (GetType() == ThresholdType)
            {
                JNIEnv.CallVoidMethod(Handle, id_getDataInBackground_Lcom_parse_GetDataCallback_Lcom_parse_ProgressCallback_, new JValue(p0), new JValue(p1));
            }
            else
            {
                JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "getDataInBackground", "(Lcom/parse/GetDataCallback;Lcom/parse/ProgressCallback;)V"), new JValue(p0), new JValue(p1));
            }
        }
Example #4
0
 static void n_LoadInBackground_Lcom_parse_GetDataCallback_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Parse.ParseImageView  __this = global::Java.Lang.Object.GetObject <global::Com.Parse.ParseImageView> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Parse.GetDataCallback p0     = global::Java.Lang.Object.GetObject <global::Com.Parse.GetDataCallback> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.LoadInBackground(p0);
 }