語言

SerialPort.OpenFlagWriteOnly 欄位

定義

警告

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

用於 #requestOpen:僅開放於書寫。

[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(int, boolean, Executor, OutcomeReceiver):僅開放寫入。

Android 參考資料。android.hardware.serial.SerialPort.OPEN_FLAG_WRITE_ONLY

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於