Stay organized with collections
Save and categorize content based on your preferences.
android.hardware.usb
Classes
UsbAccessory |
A class representing a USB accessory, which is an external hardware component that communicates with an android application over USB.
|
UsbConfiguration |
A class representing a configuration on a UsbDevice .
|
UsbConstants |
Contains constants for the USB protocol.
|
UsbDevice |
This class represents a USB device attached to the android device with the android device acting as the USB host.
|
UsbDeviceConnection |
This class is used for sending and receiving data and control messages to a USB device.
|
UsbEndpoint |
A class representing an endpoint on a UsbInterface .
|
UsbInterface |
A class representing an interface on a UsbDevice .
|
UsbManager |
This class allows you to access the state of USB and communicate with USB devices.
|
UsbRequest |
A class representing USB request packet.
|
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# android.hardware.usb\n====================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/hardware/usb/package-summary \"View this page in Java\")\n\nClasses\n-------\n\n|-----------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------|\n| [UsbAccessory](/reference/kotlin/android/hardware/usb/UsbAccessory) | A class representing a USB accessory, which is an external hardware component that communicates with an android application over USB. |\n| [UsbConfiguration](/reference/kotlin/android/hardware/usb/UsbConfiguration) | A class representing a configuration on a [UsbDevice](/reference/kotlin/android/hardware/usb/UsbDevice). |\n| [UsbConstants](/reference/kotlin/android/hardware/usb/UsbConstants) | Contains constants for the USB protocol. |\n| [UsbDevice](/reference/kotlin/android/hardware/usb/UsbDevice) | This class represents a USB device attached to the android device with the android device acting as the USB host. |\n| [UsbDeviceConnection](/reference/kotlin/android/hardware/usb/UsbDeviceConnection) | This class is used for sending and receiving data and control messages to a USB device. |\n| [UsbEndpoint](/reference/kotlin/android/hardware/usb/UsbEndpoint) | A class representing an endpoint on a [UsbInterface](/reference/kotlin/android/hardware/usb/UsbInterface). |\n| [UsbInterface](/reference/kotlin/android/hardware/usb/UsbInterface) | A class representing an interface on a [UsbDevice](/reference/kotlin/android/hardware/usb/UsbDevice). |\n| [UsbManager](/reference/kotlin/android/hardware/usb/UsbManager) | This class allows you to access the state of USB and communicate with USB devices. |\n| [UsbRequest](/reference/kotlin/android/hardware/usb/UsbRequest) | A class representing USB request packet. |"]]