android.hardware.usb.package.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of android-all Show documentation
Show all versions of android-all Show documentation
A library jar that provides APIs for Applications written for the Google Android Platform.
Provides support to communicate with USB hardware peripherals that are connected to
Android-powered devices.
For more information, see the
USB guide.
{@more}
Use {@link android.hardware.usb.UsbManager} to access the state of the USB and to
communicate with connected hardware peripherals. Use {@link android.hardware.usb.UsbDevice} to
communicate with the hardware peripheral if the Android-powered device is acting as the USB host.
Use {@link android.hardware.usb.UsbAccessory} if the peripheral is acting as the USB host.