Sdílet prostřednictvím


UsbManager.ActionUsbDeviceAttached Field

Definition

Activity intent sent when user attaches a USB device.

[Android.Runtime.Register("ACTION_USB_DEVICE_ATTACHED")]
public const string ActionUsbDeviceAttached;
[<Android.Runtime.Register("ACTION_USB_DEVICE_ATTACHED")>]
val mutable ActionUsbDeviceAttached : string

Field Value

Attributes

Remarks

Activity intent sent when user attaches a USB device.

This intent is sent when a USB device is attached to the USB bus when in host mode. <ul> <li> #EXTRA_DEVICE containing the android.hardware.usb.UsbDevice for the attached device </ul>

Java documentation for android.hardware.usb.UsbManager.ACTION_USB_DEVICE_ATTACHED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to