Exemplo n.º 1
0
        public unsafe global::Com.Qcl.VH.A.C.ˮ͍ 鷭(global::Android.Bluetooth.BluetoothSocket p0, byte[] p1, string p2)
        {
            if (id_鷭_Landroid_bluetooth_BluetoothSocket_arrayBLjava_lang_String_ == IntPtr.Zero)
            {
                id_鷭_Landroid_bluetooth_BluetoothSocket_arrayBLjava_lang_String_ = JNIEnv.GetMethodID(class_ref, "鷭", "(Landroid/bluetooth/BluetoothSocket;[BLjava/lang/String;)Lcom/qcl/vh/a/c/ˮ͍;");
            }
            IntPtr native_p1 = JNIEnv.NewArray(p1);
            IntPtr native_p2 = JNIEnv.NewString(p2);

            try {
                JValue *__args = stackalloc JValue [3];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(native_p1);
                __args [2] = new JValue(native_p2);
                global::Com.Qcl.VH.A.C.ˮ͍ __ret = global::Java.Lang.Object.GetObject <global::Com.Qcl.VH.A.C.ˮ͍> (JNIEnv.CallObjectMethod(Handle, id_鷭_Landroid_bluetooth_BluetoothSocket_arrayBLjava_lang_String_, __args), JniHandleOwnership.TransferLocalRef);
                return(__ret);
            } finally {
                if (p1 != null)
                {
                    JNIEnv.CopyArray(native_p1, p1);
                    JNIEnv.DeleteLocalRef(native_p1);
                }
                JNIEnv.DeleteLocalRef(native_p2);
            }
        }
Exemplo n.º 2
0
        public unsafe ˮ͈(global::Android.Content.Context p0, global::Com.Qcl.VH.A.C.ˮ͍ p1, int p2, global::Android.Net.Uri p3, global::Com.Qcl.VH.Service.NetworkService p4)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (Handle != IntPtr.Zero)
            {
                return;
            }

            try {
                JValue *__args = stackalloc JValue [5];
                __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);
                if (GetType() != typeof(ˮ͈))
                {
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(Landroid/content/Context;Lcom/qcl/vh/a/c/ˮ͍;ILandroid/net/Uri;Lcom/qcl/vh/service/NetworkService;)V", __args),
                        JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance(Handle, "(Landroid/content/Context;Lcom/qcl/vh/a/c/ˮ͍;ILandroid/net/Uri;Lcom/qcl/vh/service/NetworkService;)V", __args);
                    return;
                }

                if (id_ctor_Landroid_content_Context_Lcom_qcl_vh_a_c_ˮ͍_ILandroid_net_Uri_Lcom_qcl_vh_service_NetworkService_ == IntPtr.Zero)
                {
                    id_ctor_Landroid_content_Context_Lcom_qcl_vh_a_c_ˮ͍_ILandroid_net_Uri_Lcom_qcl_vh_service_NetworkService_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Landroid/content/Context;Lcom/qcl/vh/a/c/ˮ͍;ILandroid/net/Uri;Lcom/qcl/vh/service/NetworkService;)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Landroid_content_Context_Lcom_qcl_vh_a_c_ˮ͍_ILandroid_net_Uri_Lcom_qcl_vh_service_NetworkService_, __args),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(Handle, class_ref, id_ctor_Landroid_content_Context_Lcom_qcl_vh_a_c_ˮ͍_ILandroid_net_Uri_Lcom_qcl_vh_service_NetworkService_, __args);
            } finally {
            }
        }
Exemplo n.º 3
0
        public unsafe Ȃ(global::Com.Qcl.VH.A.C.ˮ͍ p0, int p1, long 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/ˮ͍;IJ)V", __args),
                        JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance(Handle, "(Lcom/qcl/vh/a/c/ˮ͍;IJ)V", __args);
                    return;
                }

                if (id_ctor_Lcom_qcl_vh_a_c_ˮ͍_IJ == IntPtr.Zero)
                {
                    id_ctor_Lcom_qcl_vh_a_c_ˮ͍_IJ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/qcl/vh/a/c/ˮ͍;IJ)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lcom_qcl_vh_a_c_ˮ͍_IJ, __args),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(Handle, class_ref, id_ctor_Lcom_qcl_vh_a_c_ˮ͍_IJ, __args);
            } finally {
            }
        }
Exemplo n.º 4
0
        public unsafe global::Com.Qcl.VH.A.C.ˮ͍ 鷭(byte[] p0, string p1)
        {
            if (id_鷭_arrayBLjava_lang_String_ == IntPtr.Zero)
            {
                id_鷭_arrayBLjava_lang_String_ = JNIEnv.GetMethodID(class_ref, "鷭", "([BLjava/lang/String;)Lcom/qcl/vh/a/c/ˮ͍;");
            }
            IntPtr  native_p0 = JNIEnv.NewArray(p0);
            IntPtr  native_p1 = JNIEnv.NewString(p1);
            JValue *__args    = stackalloc JValue [2];

            __args [0] = new JValue(native_p0);
            __args [1] = new JValue(native_p1);
            global::Com.Qcl.VH.A.C.ˮ͍ __ret = global::Java.Lang.Object.GetObject <global::Com.Qcl.VH.A.C.ˮ͍> (JNIEnv.CallObjectMethod(Handle, id_鷭_arrayBLjava_lang_String_, __args), JniHandleOwnership.TransferLocalRef);
            if (p0 != null)
            {
                JNIEnv.CopyArray(native_p0, p0);
                JNIEnv.DeleteLocalRef(native_p0);
            }
            JNIEnv.DeleteLocalRef(native_p1);
            return(__ret);
        }