SerialPort.InvalidId Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.