Sdílet prostřednictvím


InputDevice.ProductId Property

Definition

Gets the product id for the given device, if available.

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

Property Value

The product id of a given device

Attributes

Remarks

Gets the product id for the given device, if available.

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.

Java documentation for android.view.InputDevice.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