FileDocCategorySizeDatePackage
UsbManager.javaAPI DocAndroid 5.1 API1831Sat Mar 14 14:09:38 GMT 2015android.hardware.usb

UsbManager

public class UsbManager extends Object

Fields Summary
public static final String
ACTION_USB_ACCESSORY_ATTACHED
public static final String
ACTION_USB_ACCESSORY_DETACHED
public static final String
ACTION_USB_DEVICE_ATTACHED
public static final String
ACTION_USB_DEVICE_DETACHED
public static final String
EXTRA_ACCESSORY
public static final String
EXTRA_DEVICE
public static final String
EXTRA_PERMISSION_GRANTED
Constructors Summary
UsbManager()

 throw new RuntimeException("Stub!"); 
Methods Summary
public android.hardware.usb.UsbAccessory[]getAccessoryList()

 throw new RuntimeException("Stub!"); 
public java.util.HashMapgetDeviceList()

 throw new RuntimeException("Stub!"); 
public booleanhasPermission(android.hardware.usb.UsbDevice device)

 throw new RuntimeException("Stub!"); 
public booleanhasPermission(android.hardware.usb.UsbAccessory accessory)

 throw new RuntimeException("Stub!"); 
public android.os.ParcelFileDescriptoropenAccessory(android.hardware.usb.UsbAccessory accessory)

 throw new RuntimeException("Stub!"); 
public android.hardware.usb.UsbDeviceConnectionopenDevice(android.hardware.usb.UsbDevice device)

 throw new RuntimeException("Stub!"); 
public voidrequestPermission(android.hardware.usb.UsbDevice device, android.app.PendingIntent pi)

 throw new RuntimeException("Stub!"); 
public voidrequestPermission(android.hardware.usb.UsbAccessory accessory, android.app.PendingIntent pi)

 throw new RuntimeException("Stub!");