Android.Hardware.Usb.UsbManager Class
This class allows you to access the state of USB and communicate with USB devices.

See Also: UsbManager Members

Syntax

[Android.Runtime.Register("android/hardware/usb/UsbManager", DoNotGenerateAcw=true)]
public class UsbManager : Java.Lang.Object

Remarks

This class allows you to access the state of USB and communicate with USB devices. Currently only host mode is supported in the public API.

You can obtain an instance of this class by calling Android.Content.Context.GetSystemService(string).

java Example

UsbManager manager = (UsbManager) getSystemService(Context.USB_SERVICE);

Developer Guides

For more information about communicating with USB hardware, read the USB developer guide.

[Android Documentation]

Requirements

Namespace: Android.Hardware.Usb
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 12