Language

HidDevice.ProductId Property

Definition

The product ID for this device.

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

Property Value

The product identifier stored for the device, or zero when unavailable.

Attributes

Remarks

The product ID for this device.

A product ID uniquely identifies which product within the address space of a given vendor, identified by the device's vendor ID. A value of 0 will be assigned where a product ID is not available.

Android reference for android.hardware.hid.HidDevice.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