SerialPort.OpenFlagSync 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
This constant will be removed in the future version. Use Android.Hardware.Serial.OpenFlags enum directly instead of this field.
用於 #requestOpen:檔案的寫入操作將依照同步 I/O 檔案完整性完整性完成的要求完成(與 FLAG_DATA_SYNC 提供的同步 I/O 資料完整性完整性完成不同)。
[Android.Runtime.Register("OPEN_FLAG_SYNC", 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 OpenFlagSync = 1048576;
[<Android.Runtime.Register("OPEN_FLAG_SYNC", 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 OpenFlagSync : Android.Hardware.Serial.OpenFlags
欄位值
Value = 1048576- 屬性
備註
用於 requestOpen(int, boolean, Executor, OutcomeReceiver):檔案的寫入操作將依照同步 I/O 檔案完整性補全的要求完成(與 FLAG_DATA_SYNC 提供的同步 I/O 資料完整性補全不同)。
Android 參考資料。android.hardware.serial.SerialPort.OPEN_FLAG_SYNC
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。