Android.Hardware.Usb.UsbManager.DeviceList Property
Returns a HashMap containing all USB devices currently attached.
Syntax
[get: Android.Runtime.Register("getDeviceList", "()Ljava/util/HashMap;", "GetGetDeviceListHandler")]
public virtual IDictionary<string, UsbDevice> DeviceList { get; }
public virtual IDictionary<string, UsbDevice> DeviceList { get; }
Remarks
Returns a HashMap containing all USB devices currently attached. USB device name is the key for the returned HashMap. The result will be empty if no devices are attached, or if USB host mode is inactive or unsupported.
Requirements
Namespace: Android.Hardware.Usb
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 12
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 12