Share via


UsbDevice.ProductId Property

Definition

Returns a product ID for the device.

public virtual int ProductId { [Android.Runtime.Register("getProductId", "()I", "GetGetProductIdHandler")] get; }
[<get: Android.Runtime.Register("getProductId", "()I", "GetGetProductIdHandler")>]
member this.ProductId : int

Property Value

the device product ID

Attributes

Remarks

Returns a product ID for the device.

Java documentation for android.hardware.usb.UsbDevice.getProductId().

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