Lingua

SerialPort.InvalidId Field

Definition

Value returned by #getVendorId() and #getProductId() if this serial port isn't a USB device.

[Android.Runtime.Register("INVALID_ID", ApiSince=37)]
public const int InvalidId = -1;
[<Android.Runtime.Register("INVALID_ID", ApiSince=37)>]
val mutable InvalidId : int

Field Value

Value = -1
Attributes

Remarks

Value returned by getVendorId() and getProductId() if this serial port isn't a USB device.

Android reference for android.hardware.serial.SerialPort.INVALID_ID.

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