BluetoothGattServerCallback.OnNotificationSent メソッド

定義

通知または通知がリモート デバイスに送信されたときに呼び出されるコールバック。

[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 操作が成功した場合

属性

注釈

通知または通知がリモート デバイスに送信されたときに呼び出されるコールバック。

複数の通知を送信する場合、アプリケーションは、追加の通知を送信する前に、このコールバックの受信を待機する必要があります。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象