語言

BluetoothGattCallback.OnReliableWriteCompleted 方法

定義

當可靠寫入交易完成時會呼叫回調。

[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 如果可靠的寫入交易成功執行

屬性

備註

當可靠寫入交易完成時會呼叫回調。

Java 文件 android.bluetooth.BluetoothGattCallback.onReliableWriteCompleted(android.bluetooth.BluetoothGatt, int)。

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

適用於