Java android.hardware.usb UsbDeviceConnection fields, constructors, methods, implement or subclass

Example usage for Java android.hardware.usb UsbDeviceConnection fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.hardware.usb UsbDeviceConnection.

The text is from its open source code.

Method

booleanclaimInterface(UsbInterface intf, boolean force)
Claims exclusive access to a android.hardware.usb.UsbInterface .
intcontrolTransfer(int requestType, int request, int value, int index, byte[] buffer, int length, int timeout)
Performs a control transaction on endpoint zero for this device.
intgetFileDescriptor()
Returns the native file descriptor for the device, or -1 if the device is not opened.