Android Guides | Samples

Android.Hardware.Usb.UsbManager.GetAccessoryList Method

Returns a list of currently attached USB accessories. (in the current implementation there can be at most one)

Syntax

[Android.Runtime.Register("getAccessoryList", "()[Landroid/hardware/usb/UsbAccessory;", "GetGetAccessoryListHandler")]
public virtual UsbAccessory[] GetAccessoryList ()

Remarks

Returns a list of currently attached USB accessories. (in the current implementation there can be at most one)

[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