protected unsafe 鷭(global::Com.Qcl.VH.Usb.UsbService __self) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { if (Handle != IntPtr.Zero) { return; } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(__self); if (GetType() != typeof(鷭)) { SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(L" + global::Android.Runtime.JNIEnv.GetJniName(GetType().DeclaringType) + ";)V", __args), JniHandleOwnership.TransferLocalRef); global::Android.Runtime.JNIEnv.FinishCreateInstance(Handle, "(L" + global::Android.Runtime.JNIEnv.GetJniName(GetType().DeclaringType) + ";)V", __args); return; } if (id_ctor_Lcom_qcl_vh_usb_UsbService_ == IntPtr.Zero) { id_ctor_Lcom_qcl_vh_usb_UsbService_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/qcl/vh/usb/UsbService;)V"); } SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lcom_qcl_vh_usb_UsbService_, __args), JniHandleOwnership.TransferLocalRef); JNIEnv.FinishCreateInstance(Handle, class_ref, id_ctor_Lcom_qcl_vh_usb_UsbService_, __args); } finally { } }
public unsafe 櫯(global::Com.Qcl.VH.Usb.UsbService __self, global::Android.Content.Context p1, global::Android.Hardware.Usb.UsbDevice p2) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { if (Handle != IntPtr.Zero) { return; } try { JValue *__args = stackalloc JValue [3]; __args [0] = new JValue(__self); __args [1] = new JValue(p1); __args [2] = new JValue(p2); if (GetType() != typeof(櫯)) { SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(L" + global::Android.Runtime.JNIEnv.GetJniName(GetType().DeclaringType) + ";Landroid/content/Context;Landroid/hardware/usb/UsbDevice;)V", __args), JniHandleOwnership.TransferLocalRef); global::Android.Runtime.JNIEnv.FinishCreateInstance(Handle, "(L" + global::Android.Runtime.JNIEnv.GetJniName(GetType().DeclaringType) + ";Landroid/content/Context;Landroid/hardware/usb/UsbDevice;)V", __args); return; } if (id_ctor_Lcom_qcl_vh_usb_UsbService_Landroid_content_Context_Landroid_hardware_usb_UsbDevice_ == IntPtr.Zero) { id_ctor_Lcom_qcl_vh_usb_UsbService_Landroid_content_Context_Landroid_hardware_usb_UsbDevice_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/qcl/vh/usb/UsbService;Landroid/content/Context;Landroid/hardware/usb/UsbDevice;)V"); } SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lcom_qcl_vh_usb_UsbService_Landroid_content_Context_Landroid_hardware_usb_UsbDevice_, __args), JniHandleOwnership.TransferLocalRef); JNIEnv.FinishCreateInstance(Handle, class_ref, id_ctor_Lcom_qcl_vh_usb_UsbService_Landroid_content_Context_Landroid_hardware_usb_UsbDevice_, __args); } finally { } }
static IntPtr n_OnBind_Landroid_content_Intent_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Qcl.VH.Usb.UsbService __this = global::Java.Lang.Object.GetObject <global::Com.Qcl.VH.Usb.UsbService> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Android.Content.Intent p0 = global::Java.Lang.Object.GetObject <global::Android.Content.Intent> (native_p0, JniHandleOwnership.DoNotTransfer); IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.OnBind(p0)); return(__ret); }
static bool n_HandleMessage_Landroid_os_Message_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Qcl.VH.Usb.UsbService __this = global::Java.Lang.Object.GetObject <global::Com.Qcl.VH.Usb.UsbService> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Android.OS.Message p0 = global::Java.Lang.Object.GetObject <global::Android.OS.Message> (native_p0, JniHandleOwnership.DoNotTransfer); bool __ret = __this.HandleMessage(p0); return(__ret); }
static bool n_IsDeviceRegistered_Ljava_util_Set_Ljava_lang_String_Ljava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1, IntPtr native_p2) { global::Com.Qcl.VH.Usb.UsbService __this = global::Java.Lang.Object.GetObject <global::Com.Qcl.VH.Usb.UsbService> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); var p0 = global::Android.Runtime.JavaSet <global::Com.Qcl.VH.Content.MedicalDevice> .FromJniHandle(native_p0, JniHandleOwnership.DoNotTransfer); string p1 = JNIEnv.GetString(native_p1, JniHandleOwnership.DoNotTransfer); string p2 = JNIEnv.GetString(native_p2, JniHandleOwnership.DoNotTransfer); bool __ret = __this.IsDeviceRegistered(p0, p1, p2); return(__ret); }
public unsafe IF(global::Com.Qcl.VH.Usb.UsbService __self, global::Com.Qcl.VH.Content.MedicalDevice p1, string p2, global::Java.Util.Concurrent.CountDownLatch p3) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { if (Handle != IntPtr.Zero) { return; } IntPtr native_p2 = JNIEnv.NewString(p2); try { JValue *__args = stackalloc JValue [4]; __args [0] = new JValue(__self); __args [1] = new JValue(p1); __args [2] = new JValue(native_p2); __args [3] = new JValue(p3); if (GetType() != typeof(IF)) { SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(L" + global::Android.Runtime.JNIEnv.GetJniName(GetType().DeclaringType) + ";Lcom/qcl/vh/content/MedicalDevice;Ljava/lang/String;Ljava/util/concurrent/CountDownLatch;)V", __args), JniHandleOwnership.TransferLocalRef); global::Android.Runtime.JNIEnv.FinishCreateInstance(Handle, "(L" + global::Android.Runtime.JNIEnv.GetJniName(GetType().DeclaringType) + ";Lcom/qcl/vh/content/MedicalDevice;Ljava/lang/String;Ljava/util/concurrent/CountDownLatch;)V", __args); return; } if (id_ctor_Lcom_qcl_vh_usb_UsbService_Lcom_qcl_vh_content_MedicalDevice_Ljava_lang_String_Ljava_util_concurrent_CountDownLatch_ == IntPtr.Zero) { id_ctor_Lcom_qcl_vh_usb_UsbService_Lcom_qcl_vh_content_MedicalDevice_Ljava_lang_String_Ljava_util_concurrent_CountDownLatch_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/qcl/vh/usb/UsbService;Lcom/qcl/vh/content/MedicalDevice;Ljava/lang/String;Ljava/util/concurrent/CountDownLatch;)V"); } SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lcom_qcl_vh_usb_UsbService_Lcom_qcl_vh_content_MedicalDevice_Ljava_lang_String_Ljava_util_concurrent_CountDownLatch_, __args), JniHandleOwnership.TransferLocalRef); JNIEnv.FinishCreateInstance(Handle, class_ref, id_ctor_Lcom_qcl_vh_usb_UsbService_Lcom_qcl_vh_content_MedicalDevice_Ljava_lang_String_Ljava_util_concurrent_CountDownLatch_, __args); } finally { JNIEnv.DeleteLocalRef(native_p2); } }
static void n_StopUsbService_Z(IntPtr jnienv, IntPtr native__this, bool p0) { global::Com.Qcl.VH.Usb.UsbService __this = global::Java.Lang.Object.GetObject <global::Com.Qcl.VH.Usb.UsbService> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); __this.StopUsbService(p0); }