static void n_AddField_Ljava_lang_String_Ljava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1) { global::Com.Parse.Entity.Mime.FormBodyPart __this = global::Java.Lang.Object.GetObject <global::Com.Parse.Entity.Mime.FormBodyPart> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); string p0 = JNIEnv.GetString(native_p0, JniHandleOwnership.DoNotTransfer); string p1 = JNIEnv.GetString(native_p1, JniHandleOwnership.DoNotTransfer); __this.AddField(p0, p1); }
public virtual void AddBodyPart(global::Com.Parse.Entity.Mime.FormBodyPart p0) { if (id_addBodyPart_Lcom_parse_entity_mime_FormBodyPart_ == IntPtr.Zero) { id_addBodyPart_Lcom_parse_entity_mime_FormBodyPart_ = JNIEnv.GetMethodID(class_ref, "addBodyPart", "(Lcom/parse/entity/mime/FormBodyPart;)V"); } if (GetType() == ThresholdType) { JNIEnv.CallVoidMethod(Handle, id_addBodyPart_Lcom_parse_entity_mime_FormBodyPart_, new JValue(p0)); } else { JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "addBodyPart", "(Lcom/parse/entity/mime/FormBodyPart;)V"), new JValue(p0)); } }
static IntPtr n_GetBody(IntPtr jnienv, IntPtr native__this) { global::Com.Parse.Entity.Mime.FormBodyPart __this = global::Java.Lang.Object.GetObject <global::Com.Parse.Entity.Mime.FormBodyPart> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.ToLocalJniHandle(__this.Body)); }
static void n_GenerateTransferEncoding_Lcom_parse_entity_mime_content_ContentBody_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Parse.Entity.Mime.FormBodyPart __this = global::Java.Lang.Object.GetObject <global::Com.Parse.Entity.Mime.FormBodyPart> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Parse.Entity.Mime.Content.IContentBody p0 = (global::Com.Parse.Entity.Mime.Content.IContentBody)global::Java.Lang.Object.GetObject <global::Com.Parse.Entity.Mime.Content.IContentBody> (native_p0, JniHandleOwnership.DoNotTransfer); __this.GenerateTransferEncoding(p0); }
static void n_AddBodyPart_Lcom_parse_entity_mime_FormBodyPart_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Parse.Entity.Mime.HttpMultipart __this = global::Java.Lang.Object.GetObject <global::Com.Parse.Entity.Mime.HttpMultipart> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Parse.Entity.Mime.FormBodyPart p0 = global::Java.Lang.Object.GetObject <global::Com.Parse.Entity.Mime.FormBodyPart> (native_p0, JniHandleOwnership.DoNotTransfer); __this.AddBodyPart(p0); }