public override sealed unsafe void 鷭(global::Android.Bluetooth.BluetoothGatt p0, global::Java.Util.UUID p1, byte[] p2, int p3, int p4, global::System.Collections.Generic.IList <global::Android.Bluetooth.BluetoothGattDescriptor> p5)
        {
            if (id_鷭_Landroid_bluetooth_BluetoothGatt_Ljava_util_UUID_arrayBIILjava_util_List_ == IntPtr.Zero)
            {
                id_鷭_Landroid_bluetooth_BluetoothGatt_Ljava_util_UUID_arrayBIILjava_util_List_ = JNIEnv.GetMethodID(class_ref, "鷭", "(Landroid/bluetooth/BluetoothGatt;Ljava/util/UUID;[BIILjava/util/List;)V");
            }
            IntPtr native_p2 = JNIEnv.NewArray(p2);
            IntPtr native_p5 = global::Android.Runtime.JavaList <global::Android.Bluetooth.BluetoothGattDescriptor> .ToLocalJniHandle(p5);

            try {
                JValue *__args = stackalloc JValue [6];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(p1);
                __args [2] = new JValue(native_p2);
                __args [3] = new JValue(p3);
                __args [4] = new JValue(p4);
                __args [5] = new JValue(native_p5);
                JNIEnv.CallVoidMethod(Handle, id_鷭_Landroid_bluetooth_BluetoothGatt_Ljava_util_UUID_arrayBIILjava_util_List_, __args);
            } finally {
                if (p2 != null)
                {
                    JNIEnv.CopyArray(native_p2, p2);
                    JNIEnv.DeleteLocalRef(native_p2);
                }
                JNIEnv.DeleteLocalRef(native_p5);
            }
        }
示例#2
0
        public override sealed unsafe void 鷭(global::Android.Bluetooth.BluetoothGatt p0, global::Java.Util.UUID p1, byte[] p2, int p3, global::Java.Util.UUID p4, int p5)
        {
            if (id_鷭_Landroid_bluetooth_BluetoothGatt_Ljava_util_UUID_arrayBILjava_util_UUID_I == IntPtr.Zero)
            {
                id_鷭_Landroid_bluetooth_BluetoothGatt_Ljava_util_UUID_arrayBILjava_util_UUID_I = JNIEnv.GetMethodID(class_ref, "鷭", "(Landroid/bluetooth/BluetoothGatt;Ljava/util/UUID;[BILjava/util/UUID;I)V");
            }
            IntPtr native_p2 = JNIEnv.NewArray(p2);

            try {
                JValue *__args = stackalloc JValue [6];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(p1);
                __args [2] = new JValue(native_p2);
                __args [3] = new JValue(p3);
                __args [4] = new JValue(p4);
                __args [5] = new JValue(p5);
                JNIEnv.CallVoidMethod(Handle, id_鷭_Landroid_bluetooth_BluetoothGatt_Ljava_util_UUID_arrayBILjava_util_UUID_I, __args);
            } finally {
                if (p2 != null)
                {
                    JNIEnv.CopyArray(native_p2, p2);
                    JNIEnv.DeleteLocalRef(native_p2);
                }
            }
        }
示例#3
0
            public unsafe 鷭(global::Com.Qcl.VH.MD.Idt.PE128GattClient __self, global::Android.Bluetooth.BluetoothGatt p1)
                : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
            {
                if (Handle != IntPtr.Zero)
                {
                    return;
                }

                try {
                    JValue *__args = stackalloc JValue [2];
                    __args [0] = new JValue(__self);
                    __args [1] = new JValue(p1);
                    if (GetType() != typeof(鷭))
                    {
                        SetHandle(
                            global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(L" + global::Android.Runtime.JNIEnv.GetJniName(GetType().DeclaringType) + ";Landroid/bluetooth/BluetoothGatt;)V", __args),
                            JniHandleOwnership.TransferLocalRef);
                        global::Android.Runtime.JNIEnv.FinishCreateInstance(Handle, "(L" + global::Android.Runtime.JNIEnv.GetJniName(GetType().DeclaringType) + ";Landroid/bluetooth/BluetoothGatt;)V", __args);
                        return;
                    }

                    if (id_ctor_Lcom_qcl_vh_md_idt_PE128GattClient_Landroid_bluetooth_BluetoothGatt_ == IntPtr.Zero)
                    {
                        id_ctor_Lcom_qcl_vh_md_idt_PE128GattClient_Landroid_bluetooth_BluetoothGatt_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/qcl/vh/md/idt/PE128GattClient;Landroid/bluetooth/BluetoothGatt;)V");
                    }
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lcom_qcl_vh_md_idt_PE128GattClient_Landroid_bluetooth_BluetoothGatt_, __args),
                        JniHandleOwnership.TransferLocalRef);
                    JNIEnv.FinishCreateInstance(Handle, class_ref, id_ctor_Lcom_qcl_vh_md_idt_PE128GattClient_Landroid_bluetooth_BluetoothGatt_, __args);
                } finally {
                }
            }
示例#4
0
        public virtual unsafe void SetBluetoothGatt(global::Android.Bluetooth.BluetoothGatt bluetoothGatt)
        {
            const string __id = "setBluetoothGatt.(Landroid/bluetooth/BluetoothGatt;)V";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [1];
                __args [0] = new JniArgumentValue((bluetoothGatt == null) ? IntPtr.Zero : ((global::Java.Lang.Object)bluetoothGatt).Handle);
                _members.InstanceMethods.InvokeVirtualVoidMethod(__id, this, __args);
            } finally {
            }
        }
        public static unsafe bool RefreshGattCache(global::Android.Bluetooth.BluetoothGatt gatt)
        {
            const string __id = "refreshGattCache.(Landroid/bluetooth/BluetoothGatt;)Z";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [1];
                __args [0] = new JniArgumentValue((gatt == null) ? IntPtr.Zero : ((global::Java.Lang.Object)gatt).Handle);
                var __rm = _members.StaticMethods.InvokeBooleanMethod(__id, __args);
                return(__rm);
            } finally {
            }
        }
 protected override sealed unsafe void 鷭(global::Android.Bluetooth.BluetoothGatt p0)
 {
     if (id_鷭_Landroid_bluetooth_BluetoothGatt_ == IntPtr.Zero)
     {
         id_鷭_Landroid_bluetooth_BluetoothGatt_ = JNIEnv.GetMethodID(class_ref, "鷭", "(Landroid/bluetooth/BluetoothGatt;)V");
     }
     try {
         JValue *__args = stackalloc JValue [1];
         __args [0] = new JValue(p0);
         JNIEnv.CallVoidMethod(Handle, id_鷭_Landroid_bluetooth_BluetoothGatt_, __args);
     } finally {
     }
 }
示例#7
0
        static void n_鷭_Landroid_bluetooth_BluetoothGatt_Ljava_util_UUID_arrayBIILjava_util_List_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1, IntPtr native_p2, int p3, int p4, IntPtr native_p5)
        {
            global::Com.Qcl.VH.Ble.BloodGlucoseGattClient __this = global::Java.Lang.Object.GetObject <global::Com.Qcl.VH.Ble.BloodGlucoseGattClient> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Android.Bluetooth.BluetoothGatt       p0     = global::Java.Lang.Object.GetObject <global::Android.Bluetooth.BluetoothGatt> (native_p0, JniHandleOwnership.DoNotTransfer);
            global::Java.Util.UUID p1 = global::Java.Lang.Object.GetObject <global::Java.Util.UUID> (native_p1, JniHandleOwnership.DoNotTransfer);
            byte[] p2 = (byte[])JNIEnv.GetArray(native_p2, JniHandleOwnership.DoNotTransfer, typeof(byte));
            var    p5 = global::Android.Runtime.JavaList <global::Android.Bluetooth.BluetoothGattDescriptor> .FromJniHandle(native_p5, JniHandleOwnership.DoNotTransfer);

            __this.鷭(p0, p1, p2, p3, p4, p5);
            if (p2 != null)
            {
                JNIEnv.CopyArray(p2, native_p2);
            }
        }
 public override sealed unsafe void 鷭(global::Android.Bluetooth.BluetoothGatt p0, int p1, int p2)
 {
     if (id_鷭_Landroid_bluetooth_BluetoothGatt_II == IntPtr.Zero)
     {
         id_鷭_Landroid_bluetooth_BluetoothGatt_II = JNIEnv.GetMethodID(class_ref, "鷭", "(Landroid/bluetooth/BluetoothGatt;II)V");
     }
     try {
         JValue *__args = stackalloc JValue [3];
         __args [0] = new JValue(p0);
         __args [1] = new JValue(p1);
         __args [2] = new JValue(p2);
         JNIEnv.CallVoidMethod(Handle, id_鷭_Landroid_bluetooth_BluetoothGatt_II, __args);
     } finally {
     }
 }
示例#9
0
 protected abstract void ˮ͈(global::Android.Bluetooth.BluetoothGatt p0);
示例#10
0
 static void n_ˮ͈_Landroid_bluetooth_BluetoothGatt_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Qcl.VH.Ble.BloodGlucoseGattClient __this = global::Java.Lang.Object.GetObject <global::Com.Qcl.VH.Ble.BloodGlucoseGattClient> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Android.Bluetooth.BluetoothGatt       p0     = global::Java.Lang.Object.GetObject <global::Android.Bluetooth.BluetoothGatt> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.ˮ͈(p0);
 }