语言

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)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于