SerialPort.OpenFlagNonblock 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.
Caution
This constant will be removed in the future version. Use Android.Hardware.Serial.OpenFlags enum directly instead of this field.
For use with #requestOpen: when possible, the file is opened in nonblocking mode.
[Android.Runtime.Register("OPEN_FLAG_NONBLOCK", ApiSince=37)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Hardware.Serial.OpenFlags enum directly instead of this field.", true)]
public const Android.Hardware.Serial.OpenFlags OpenFlagNonblock = 2048;
[<Android.Runtime.Register("OPEN_FLAG_NONBLOCK", ApiSince=37)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Hardware.Serial.OpenFlags enum directly instead of this field.", true)>]
val mutable OpenFlagNonblock : Android.Hardware.Serial.OpenFlags
Field Value
Value = 2048- Attributes
Remarks
For use with requestOpen(int, boolean, Executor, OutcomeReceiver): when possible, the file is opened in nonblocking mode.
Android reference for android.hardware.serial.SerialPort.OPEN_FLAG_NONBLOCK.
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.