语言

SerialPort.OpenFlagReadOnly 字段

定义

注意

This constant will be removed in the future version. Use Android.Hardware.Serial.OpenFlags enum directly instead of this field.

[Android.Runtime.Register("OPEN_FLAG_READ_ONLY", 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 OpenFlagReadOnly = 0;
[<Android.Runtime.Register("OPEN_FLAG_READ_ONLY", 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 OpenFlagReadOnly : Android.Hardware.Serial.OpenFlags

字段值

Value = 0
特性

注解

RequestOpen(Int32, Boolean, IExecutor, IOutcomeReceiver)用于:打开以供读取。

Android 参考。android.hardware.serial.SerialPort.OPEN_FLAG_READ_ONLY

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于