语言

SerialPort.OpenFlagWriteOnly 字段

定义

注意

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_WRITE_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 OpenFlagWriteOnly = 1;
[<Android.Runtime.Register("OPEN_FLAG_WRITE_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 OpenFlagWriteOnly : Android.Hardware.Serial.OpenFlags

字段值

Value = 1
特性

注解

RequestOpen(Int32, Boolean, IExecutor, IOutcomeReceiver)用于:仅打开以供写入。

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

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

适用于