| package com.android.future.usb { |
| |
| public class UsbAccessory { |
| method public java.lang.String getDescription(); |
| method public java.lang.String getManufacturer(); |
| method public java.lang.String getModel(); |
| method public java.lang.String getSerial(); |
| method public java.lang.String getUri(); |
| method public java.lang.String getVersion(); |
| } |
| |
| public class UsbManager { |
| method public static com.android.future.usb.UsbAccessory getAccessory(android.content.Intent); |
| method public com.android.future.usb.UsbAccessory[] getAccessoryList(); |
| method public static com.android.future.usb.UsbManager getInstance(android.content.Context); |
| method public boolean hasPermission(com.android.future.usb.UsbAccessory); |
| method public android.os.ParcelFileDescriptor openAccessory(com.android.future.usb.UsbAccessory); |
| method public void requestPermission(com.android.future.usb.UsbAccessory, android.app.PendingIntent); |
| field public static final java.lang.String ACTION_USB_ACCESSORY_ATTACHED = "android.hardware.usb.action.USB_ACCESSORY_ATTACHED"; |
| field public static final java.lang.String ACTION_USB_ACCESSORY_DETACHED = "android.hardware.usb.action.USB_ACCESSORY_DETACHED"; |
| field public static final java.lang.String EXTRA_PERMISSION_GRANTED = "permission"; |
| } |
| |
| } |
| |