public static unsafe global::Com.Bumptech.Glide.Util.ExceptionCatchingInputStream Obtain(global::System.IO.Stream p0) { if (id_obtain_Ljava_io_InputStream_ == IntPtr.Zero) { id_obtain_Ljava_io_InputStream_ = JNIEnv.GetStaticMethodID(class_ref, "obtain", "(Ljava/io/InputStream;)Lcom/bumptech/glide/util/ExceptionCatchingInputStream;"); } IntPtr native_p0 = global::Android.Runtime.InputStreamAdapter.ToLocalJniHandle(p0); try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(native_p0); global::Com.Bumptech.Glide.Util.ExceptionCatchingInputStream __ret = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Util.ExceptionCatchingInputStream> (JNIEnv.CallStaticObjectMethod(class_ref, id_obtain_Ljava_io_InputStream_, __args), JniHandleOwnership.TransferLocalRef); return(__ret); } finally { JNIEnv.DeleteLocalRef(native_p0); } }
static IntPtr n_GetException(IntPtr jnienv, IntPtr native__this) { global::Com.Bumptech.Glide.Util.ExceptionCatchingInputStream __this = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Util.ExceptionCatchingInputStream> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.ToLocalJniHandle(__this.Exception)); }
static void n_Release(IntPtr jnienv, IntPtr native__this) { global::Com.Bumptech.Glide.Util.ExceptionCatchingInputStream __this = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Util.ExceptionCatchingInputStream> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); __this.Release(); }