예제 #1
0
        public unsafe 鷭(global::Com.Qcl.VH.A.C.CON p0, global::Android.Content.Context p1, global::Com.Qcl.VH.Service.NetworkService p2)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (Handle != IntPtr.Zero)
            {
                return;
            }

            try {
                JValue *__args = stackalloc JValue [3];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(p1);
                __args [2] = new JValue(p2);
                if (GetType() != typeof(鷭))
                {
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(Lcom/qcl/vh/a/c/CON;Landroid/content/Context;Lcom/qcl/vh/service/NetworkService;)V", __args),
                        JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance(Handle, "(Lcom/qcl/vh/a/c/CON;Landroid/content/Context;Lcom/qcl/vh/service/NetworkService;)V", __args);
                    return;
                }

                if (id_ctor_Lcom_qcl_vh_a_c_CON_Landroid_content_Context_Lcom_qcl_vh_service_NetworkService_ == IntPtr.Zero)
                {
                    id_ctor_Lcom_qcl_vh_a_c_CON_Landroid_content_Context_Lcom_qcl_vh_service_NetworkService_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/qcl/vh/a/c/CON;Landroid/content/Context;Lcom/qcl/vh/service/NetworkService;)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lcom_qcl_vh_a_c_CON_Landroid_content_Context_Lcom_qcl_vh_service_NetworkService_, __args),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(Handle, class_ref, id_ctor_Lcom_qcl_vh_a_c_CON_Landroid_content_Context_Lcom_qcl_vh_service_NetworkService_, __args);
            } finally {
            }
        }
        static bool n_QueueMessage_Lcom_qcl_vh_a_c_CON_Lcom_qcl_vh_content_鷭_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1)
        {
            global::Com.Qcl.VH.Service.NetworkService __this = global::Java.Lang.Object.GetObject <global::Com.Qcl.VH.Service.NetworkService> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Com.Qcl.VH.A.C.CON    p0 = global::Java.Lang.Object.GetObject <global::Com.Qcl.VH.A.C.CON> (native_p0, JniHandleOwnership.DoNotTransfer);
            global::Com.Qcl.VH.Content.I鷭 p1 = (global::Com.Qcl.VH.Content.I鷭)global::Java.Lang.Object.GetObject <global::Com.Qcl.VH.Content.I鷭> (native_p1, JniHandleOwnership.DoNotTransfer);
            bool __ret = __this.QueueMessage(p0, p1);

            return(__ret);
        }
예제 #3
0
 public unsafe void Invoke鷭(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 {
     }
 }
예제 #4
0
 public static unsafe global::Com.Qcl.VH.A.C.CON 鷭(global::Com.Qcl.VH.A.C.띥 p0)
 {
     if (id_鷭_Lcom_qcl_vh_a_c_띥_ == IntPtr.Zero)
     {
         id_鷭_Lcom_qcl_vh_a_c_띥_ = JNIEnv.GetStaticMethodID(class_ref, "鷭", "(Lcom/qcl/vh/a/c/띥;)Lcom/qcl/vh/a/c/CON;");
     }
     try {
         JValue *__args = stackalloc JValue [1];
         __args [0] = new JValue(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_鷭_Lcom_qcl_vh_a_c_띥_, __args), JniHandleOwnership.TransferLocalRef);
         return(__ret);
     } finally {
     }
 }
예제 #5
0
 public override sealed unsafe global::Com.Qcl.VH.A.C.CON 鷭(global::Android.Content.Context p0)
 {
     if (id_鷭_Landroid_content_Context_ == IntPtr.Zero)
     {
         id_鷭_Landroid_content_Context_ = JNIEnv.GetMethodID(class_ref, "鷭", "(Landroid/content/Context;)Lcom/qcl/vh/a/c/CON;");
     }
     try {
         JValue *__args = stackalloc JValue [1];
         __args [0] = new JValue(p0);
         global::Com.Qcl.VH.A.C.CON __ret = global::Java.Lang.Object.GetObject <global::Com.Qcl.VH.A.C.CON> (JNIEnv.CallObjectMethod(Handle, id_鷭_Landroid_content_Context_, __args), JniHandleOwnership.TransferLocalRef);
         return(__ret);
     } finally {
     }
 }
        public virtual unsafe bool QueueMessage(global::Com.Qcl.VH.A.C.CON p0, global::Com.Qcl.VH.Content.I鷭 p1)
        {
            if (id_queueMessage_Lcom_qcl_vh_a_c_CON_Lcom_qcl_vh_content_鷭_ == IntPtr.Zero)
            {
                id_queueMessage_Lcom_qcl_vh_a_c_CON_Lcom_qcl_vh_content_鷭_ = JNIEnv.GetMethodID(class_ref, "queueMessage", "(Lcom/qcl/vh/a/c/CON;Lcom/qcl/vh/content/鷭;)Z");
            }
            try {
                JValue *__args = stackalloc JValue [2];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(p1);

                bool __ret;
                if (GetType() == ThresholdType)
                {
                    __ret = JNIEnv.CallBooleanMethod(Handle, id_queueMessage_Lcom_qcl_vh_a_c_CON_Lcom_qcl_vh_content_鷭_, __args);
                }
                else
                {
                    __ret = JNIEnv.CallNonvirtualBooleanMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "queueMessage", "(Lcom/qcl/vh/a/c/CON;Lcom/qcl/vh/content/鷭;)Z"), __args);
                }
                return(__ret);
            } finally {
            }
        }