BluetoothGattCallback.OnReliableWriteCompleted 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當可靠寫入交易完成時會呼叫回調。
[Android.Runtime.Register("onReliableWriteCompleted", "(Landroid/bluetooth/BluetoothGatt;I)V", "GetOnReliableWriteCompleted_Landroid_bluetooth_BluetoothGatt_IHandler")]
public virtual void OnReliableWriteCompleted(Android.Bluetooth.BluetoothGatt? gatt, Android.Bluetooth.GattStatus status);
[<Android.Runtime.Register("onReliableWriteCompleted", "(Landroid/bluetooth/BluetoothGatt;I)V", "GetOnReliableWriteCompleted_Landroid_bluetooth_BluetoothGatt_IHandler")>]
abstract member OnReliableWriteCompleted : Android.Bluetooth.BluetoothGatt * Android.Bluetooth.GattStatus -> unit
override this.OnReliableWriteCompleted : Android.Bluetooth.BluetoothGatt * Android.Bluetooth.GattStatus -> unit
參數
- gatt
- BluetoothGatt
呼叫的 GATT 用戶端 BluetoothGatt#executeReliableWrite
- status
- GattStatus
BluetoothGatt#GATT_SUCCESS 如果可靠的寫入交易成功執行
- 屬性
備註
當可靠寫入交易完成時會呼叫回調。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。