コード例 #1
0
        static IntPtr n_NewTaskFor_Ljava_util_concurrent_Callable_(IntPtr jnienv, IntPtr native__this, IntPtr native_callable)
        {
            global::Com.Facebook.Common.Executors.HandlerExecutorServiceImpl __this = global::Java.Lang.Object.GetObject <global::Com.Facebook.Common.Executors.HandlerExecutorServiceImpl>(jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Java.Util.Concurrent.ICallable callable = (global::Java.Util.Concurrent.ICallable)global::Java.Lang.Object.GetObject <global::Java.Util.Concurrent.ICallable>(native_callable, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.NewTaskFor(callable));

            return(__ret);
        }
コード例 #2
0
        static IntPtr n_NewTaskFor_Ljava_lang_Runnable_Ljava_lang_Object_(IntPtr jnienv, IntPtr native__this, IntPtr native_runnable, IntPtr native_value)
        {
            global::Com.Facebook.Common.Executors.HandlerExecutorServiceImpl __this = global::Java.Lang.Object.GetObject <global::Com.Facebook.Common.Executors.HandlerExecutorServiceImpl>(jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Java.Lang.IRunnable runnable = (global::Java.Lang.IRunnable)global::Java.Lang.Object.GetObject <global::Java.Lang.IRunnable>(native_runnable, JniHandleOwnership.DoNotTransfer);
            global::Java.Lang.Object    value    = global::Java.Lang.Object.GetObject <global::Java.Lang.Object>(native_value, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.NewTaskFor(runnable, value));

            return(__ret);
        }