Android.Hardware.Usb.UsbDevice.DeviceId Property
Returns a unique integer ID for the device.

Syntax

[get: Android.Runtime.Register("getDeviceId", "()I", "GetGetDeviceIdHandler")]
public virtual int DeviceId { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Returns a unique integer ID for the device. This is a convenience for clients that want to use an integer to represent the device, rather than the device name. IDs are not persistent across USB disconnects.

[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