public unsafe FifoPriorityThreadPoolExecutor(int p0, global::Com.Bumptech.Glide.Load.Engine.Executor.FifoPriorityThreadPoolExecutor.UncaughtThrowableStrategy p1) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { if (Handle != IntPtr.Zero) { return; } try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); if (GetType() != typeof(FifoPriorityThreadPoolExecutor)) { SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(ILcom/bumptech/glide/load/engine/executor/FifoPriorityThreadPoolExecutor$UncaughtThrowableStrategy;)V", __args), JniHandleOwnership.TransferLocalRef); global::Android.Runtime.JNIEnv.FinishCreateInstance(Handle, "(ILcom/bumptech/glide/load/engine/executor/FifoPriorityThreadPoolExecutor$UncaughtThrowableStrategy;)V", __args); return; } if (id_ctor_ILcom_bumptech_glide_load_engine_executor_FifoPriorityThreadPoolExecutor_UncaughtThrowableStrategy_ == IntPtr.Zero) { id_ctor_ILcom_bumptech_glide_load_engine_executor_FifoPriorityThreadPoolExecutor_UncaughtThrowableStrategy_ = JNIEnv.GetMethodID(class_ref, "<init>", "(ILcom/bumptech/glide/load/engine/executor/FifoPriorityThreadPoolExecutor$UncaughtThrowableStrategy;)V"); } SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_ILcom_bumptech_glide_load_engine_executor_FifoPriorityThreadPoolExecutor_UncaughtThrowableStrategy_, __args), JniHandleOwnership.TransferLocalRef); JNIEnv.FinishCreateInstance(Handle, class_ref, id_ctor_ILcom_bumptech_glide_load_engine_executor_FifoPriorityThreadPoolExecutor_UncaughtThrowableStrategy_, __args); } finally { } }
public static unsafe global::Com.Bumptech.Glide.Load.Engine.Executor.FifoPriorityThreadPoolExecutor.UncaughtThrowableStrategy ValueOf(string p0) { if (id_valueOf_Ljava_lang_String_ == IntPtr.Zero) { id_valueOf_Ljava_lang_String_ = JNIEnv.GetStaticMethodID(class_ref, "valueOf", "(Ljava/lang/String;)Lcom/bumptech/glide/load/engine/executor/FifoPriorityThreadPoolExecutor$UncaughtThrowableStrategy;"); } IntPtr native_p0 = JNIEnv.NewString(p0); try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(native_p0); global::Com.Bumptech.Glide.Load.Engine.Executor.FifoPriorityThreadPoolExecutor.UncaughtThrowableStrategy __ret = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Load.Engine.Executor.FifoPriorityThreadPoolExecutor.UncaughtThrowableStrategy> (JNIEnv.CallStaticObjectMethod(class_ref, id_valueOf_Ljava_lang_String_, __args), JniHandleOwnership.TransferLocalRef); return(__ret); } finally { JNIEnv.DeleteLocalRef(native_p0); } }
public unsafe FifoPriorityThreadPoolExecutor(int p0, int p1, long p2, global::Java.Util.Concurrent.TimeUnit p3, global::Java.Util.Concurrent.IThreadFactory p4, global::Com.Bumptech.Glide.Load.Engine.Executor.FifoPriorityThreadPoolExecutor.UncaughtThrowableStrategy p5) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { if (Handle != IntPtr.Zero) { return; } try { JValue *__args = stackalloc JValue [6]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); __args [2] = new JValue(p2); __args [3] = new JValue(p3); __args [4] = new JValue(p4); __args [5] = new JValue(p5); if (GetType() != typeof(FifoPriorityThreadPoolExecutor)) { SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(IIJLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/ThreadFactory;Lcom/bumptech/glide/load/engine/executor/FifoPriorityThreadPoolExecutor$UncaughtThrowableStrategy;)V", __args), JniHandleOwnership.TransferLocalRef); global::Android.Runtime.JNIEnv.FinishCreateInstance(Handle, "(IIJLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/ThreadFactory;Lcom/bumptech/glide/load/engine/executor/FifoPriorityThreadPoolExecutor$UncaughtThrowableStrategy;)V", __args); return; } if (id_ctor_IIJLjava_util_concurrent_TimeUnit_Ljava_util_concurrent_ThreadFactory_Lcom_bumptech_glide_load_engine_executor_FifoPriorityThreadPoolExecutor_UncaughtThrowableStrategy_ == IntPtr.Zero) { id_ctor_IIJLjava_util_concurrent_TimeUnit_Ljava_util_concurrent_ThreadFactory_Lcom_bumptech_glide_load_engine_executor_FifoPriorityThreadPoolExecutor_UncaughtThrowableStrategy_ = JNIEnv.GetMethodID(class_ref, "<init>", "(IIJLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/ThreadFactory;Lcom/bumptech/glide/load/engine/executor/FifoPriorityThreadPoolExecutor$UncaughtThrowableStrategy;)V"); } SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_IIJLjava_util_concurrent_TimeUnit_Ljava_util_concurrent_ThreadFactory_Lcom_bumptech_glide_load_engine_executor_FifoPriorityThreadPoolExecutor_UncaughtThrowableStrategy_, __args), JniHandleOwnership.TransferLocalRef); JNIEnv.FinishCreateInstance(Handle, class_ref, id_ctor_IIJLjava_util_concurrent_TimeUnit_Ljava_util_concurrent_ThreadFactory_Lcom_bumptech_glide_load_engine_executor_FifoPriorityThreadPoolExecutor_UncaughtThrowableStrategy_, __args); } finally { } }
static void n_HandleWrap_Ljava_lang_Throwable_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Bumptech.Glide.Load.Engine.Executor.FifoPriorityThreadPoolExecutor.UncaughtThrowableStrategy __this = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Load.Engine.Executor.FifoPriorityThreadPoolExecutor.UncaughtThrowableStrategy> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Java.Lang.Throwable p0 = global::Java.Lang.Object.GetObject <global::Java.Lang.Throwable> (native_p0, JniHandleOwnership.DoNotTransfer); __this.HandleWrap(p0); }