Language

SerialPort.VendorId Property

Definition

Return the vendor ID of this serial port if it is a USB device.

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

Property Value

Return the vendor ID of this serial port if it is a USB device.

Attributes

Remarks

Return the vendor ID of this serial port if it is a USB device. Otherwise, it returns INVALID_ID.

Android reference for android.hardware.serial.SerialPort.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