Esempio n. 1
0
        static IntPtr n_GetDevice_Landroid_hardware_usb_UsbManager_Landroid_hardware_usb_UsbDevice_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1)
        {
            global::Com.Hoho.Android.Usbserial.Driver.UsbSerialProber __this = global::Java.Lang.Object.GetObject <global::Com.Hoho.Android.Usbserial.Driver.UsbSerialProber> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Android.Hardware.Usb.UsbManager p0 = global::Java.Lang.Object.GetObject <global::Android.Hardware.Usb.UsbManager> (native_p0, JniHandleOwnership.DoNotTransfer);
            global::Android.Hardware.Usb.UsbDevice  p1 = global::Java.Lang.Object.GetObject <global::Android.Hardware.Usb.UsbDevice> (native_p1, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.GetDevice(p0, p1));

            return(__ret);
        }
Esempio n. 2
0
 public static global::Com.Hoho.Android.Usbserial.Driver.UsbSerialDriver Acquire(global::Android.Hardware.Usb.UsbManager p0, global::Android.Hardware.Usb.UsbDevice p1)
 {
     if (id_acquire_Landroid_hardware_usb_UsbManager_Landroid_hardware_usb_UsbDevice_ == IntPtr.Zero)
     {
         id_acquire_Landroid_hardware_usb_UsbManager_Landroid_hardware_usb_UsbDevice_ = JNIEnv.GetStaticMethodID(class_ref, "acquire", "(Landroid/hardware/usb/UsbManager;Landroid/hardware/usb/UsbDevice;)Lcom/hoho/android/usbserial/driver/UsbSerialDriver;");
     }
     global::Com.Hoho.Android.Usbserial.Driver.UsbSerialDriver __ret = global::Java.Lang.Object.GetObject <global::Com.Hoho.Android.Usbserial.Driver.UsbSerialDriver> (JNIEnv.CallStaticObjectMethod(class_ref, id_acquire_Landroid_hardware_usb_UsbManager_Landroid_hardware_usb_UsbDevice_, new JValue(p0), new JValue(p1)), JniHandleOwnership.TransferLocalRef);
     return(__ret);
 }
Esempio n. 3
0
 public abstract global::Com.Hoho.Android.Usbserial.Driver.UsbSerialDriver GetDevice(global::Android.Hardware.Usb.UsbManager p0, global::Android.Hardware.Usb.UsbDevice p1);