Langue

BluetoothGattCallback.OnDescriptorWrite Méthode

Définition

Rappel indiquant le résultat d’une opération d’écriture de descripteur.

[Android.Runtime.Register("onDescriptorWrite", "(Landroid/bluetooth/BluetoothGatt;Landroid/bluetooth/BluetoothGattDescriptor;I)V", "GetOnDescriptorWrite_Landroid_bluetooth_BluetoothGatt_Landroid_bluetooth_BluetoothGattDescriptor_IHandler")]
public virtual void OnDescriptorWrite(Android.Bluetooth.BluetoothGatt? gatt, Android.Bluetooth.BluetoothGattDescriptor? descriptor, Android.Bluetooth.GattStatus status);
[<Android.Runtime.Register("onDescriptorWrite", "(Landroid/bluetooth/BluetoothGatt;Landroid/bluetooth/BluetoothGattDescriptor;I)V", "GetOnDescriptorWrite_Landroid_bluetooth_BluetoothGatt_Landroid_bluetooth_BluetoothGattDescriptor_IHandler")>]
abstract member OnDescriptorWrite : Android.Bluetooth.BluetoothGatt * Android.Bluetooth.BluetoothGattDescriptor * Android.Bluetooth.GattStatus -> unit
override this.OnDescriptorWrite : Android.Bluetooth.BluetoothGatt * Android.Bluetooth.BluetoothGattDescriptor * Android.Bluetooth.GattStatus -> unit

Paramètres

gatt
BluetoothGatt

Client GATT appelé BluetoothGatt#writeDescriptor

descriptor
BluetoothGattDescriptor

Descripteur écrit sur l’appareil distant associé.

status
GattStatus

Résultat de l’opération BluetoothGatt#GATT_SUCCESS d’écriture si l’opération réussit.

Attributs

Remarques

Rappel indiquant le résultat d’une opération d’écriture de descripteur.

Java documentation pour android.bluetooth.BluetoothGattCallback.onDescriptorWrite(android.bluetooth.BluetoothGatt, android.bluetooth.BluetoothGattDescriptor, int).

Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.

S’applique à