Example usage for Java android.hardware.usb UsbDeviceConnection fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | claimInterface(UsbInterface intf, boolean force) Claims exclusive access to a android.hardware.usb.UsbInterface . |
int | controlTransfer(int requestType, int request, int value, int index, byte[] buffer, int length, int timeout) Performs a control transaction on endpoint zero for this device. |
int | getFileDescriptor() Returns the native file descriptor for the device, or -1 if the device is not opened. |