예제 #1
0
 public unsafe void 鷭(global::Com.Qcl.VH.A.C.Con p0)
 {
     if (id_鷭_Lcom_qcl_vh_a_c_con_ == IntPtr.Zero)
     {
         id_鷭_Lcom_qcl_vh_a_c_con_ = JNIEnv.GetMethodID(class_ref, "鷭", "(Lcom/qcl/vh/a/c/con;)V");
     }
     try {
         JValue *__args = stackalloc JValue [1];
         __args [0] = new JValue(p0);
         JNIEnv.CallVoidMethod(Handle, id_鷭_Lcom_qcl_vh_a_c_con_, __args);
     } finally {
     }
 }
예제 #2
0
        public static unsafe global::Com.Qcl.VH.A.C.Con 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/qcl/vh/a/c/con;");
            }
            IntPtr native_p0 = JNIEnv.NewString(p0);

            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(native_p0);
                global::Com.Qcl.VH.A.C.Con __ret = global::Java.Lang.Object.GetObject <global::Com.Qcl.VH.A.C.Con> (JNIEnv.CallStaticObjectMethod(class_ref, id_valueOf_Ljava_lang_String_, __args), JniHandleOwnership.TransferLocalRef);
                return(__ret);
            } finally {
                JNIEnv.DeleteLocalRef(native_p0);
            }
        }