public static global::Com.Parse.Entity.Mime.Content.StringBody Create(string p0, global::Java.Nio.Charset.Charset p1) { if (id_create_Ljava_lang_String_Ljava_nio_charset_Charset_ == IntPtr.Zero) { id_create_Ljava_lang_String_Ljava_nio_charset_Charset_ = JNIEnv.GetStaticMethodID(class_ref, "create", "(Ljava/lang/String;Ljava/nio/charset/Charset;)Lcom/parse/entity/mime/content/StringBody;"); } IntPtr native_p0 = JNIEnv.NewString(p0); global::Com.Parse.Entity.Mime.Content.StringBody __ret = global::Java.Lang.Object.GetObject <global::Com.Parse.Entity.Mime.Content.StringBody> (JNIEnv.CallStaticObjectMethod(class_ref, id_create_Ljava_lang_String_Ljava_nio_charset_Charset_, new JValue(native_p0), new JValue(p1)), JniHandleOwnership.TransferLocalRef); JNIEnv.DeleteLocalRef(native_p0); return(__ret); }
static void n_WriteTo_Ljava_io_OutputStream_I(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, int p1) { global::Com.Parse.Entity.Mime.Content.StringBody __this = global::Java.Lang.Object.GetObject <global::Com.Parse.Entity.Mime.Content.StringBody> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); System.IO.Stream p0 = global::Android.Runtime.OutputStreamInvoker.FromJniHandle(native_p0, JniHandleOwnership.DoNotTransfer); __this.WriteTo(p0, p1); }
static IntPtr n_GetTransferEncoding(IntPtr jnienv, IntPtr native__this) { global::Com.Parse.Entity.Mime.Content.StringBody __this = global::Java.Lang.Object.GetObject <global::Com.Parse.Entity.Mime.Content.StringBody> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.NewString(__this.TransferEncoding)); }
static long n_GetContentLength(IntPtr jnienv, IntPtr native__this) { global::Com.Parse.Entity.Mime.Content.StringBody __this = global::Java.Lang.Object.GetObject <global::Com.Parse.Entity.Mime.Content.StringBody> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(__this.ContentLength); }