BluetoothGattServerCallback.OnNotificationSent 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
通知或指示已发送到远程设备时调用的回调。
[Android.Runtime.Register("onNotificationSent", "(Landroid/bluetooth/BluetoothDevice;I)V", "GetOnNotificationSent_Landroid_bluetooth_BluetoothDevice_IHandler")]
public virtual void OnNotificationSent(Android.Bluetooth.BluetoothDevice? device, Android.Bluetooth.GattStatus status);
[<Android.Runtime.Register("onNotificationSent", "(Landroid/bluetooth/BluetoothDevice;I)V", "GetOnNotificationSent_Landroid_bluetooth_BluetoothDevice_IHandler")>]
abstract member OnNotificationSent : Android.Bluetooth.BluetoothDevice * Android.Bluetooth.GattStatus -> unit
override this.OnNotificationSent : Android.Bluetooth.BluetoothDevice * Android.Bluetooth.GattStatus -> unit
参数
- device
- BluetoothDevice
通知发送到的远程设备
- status
- GattStatus
BluetoothGatt#GATT_SUCCESS 如果操作成功,则为
- 特性
注解
通知或指示已发送到远程设备时调用的回调。
发送多个通知时,应用程序必须在发送其他通知之前等待接收此回调。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。