Sdílet prostřednictvím


InputDevice.VendorId Property

Definition

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

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

Property Value

The vendor id of a given device

Attributes

Remarks

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

A vendor id uniquely identifies the company who manufactured the device. A value of 0 will be assigned where a vendor id is not available.

Java documentation for android.view.InputDevice.getVendorId().

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