BluetoothGattCallback.OnDescriptorRead Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
| Nom | Description |
|---|---|
| OnDescriptorRead(BluetoothGatt, BluetoothGattDescriptor, GattStatus, Byte[]) |
Rappel signalant le résultat d’une opération de lecture de descripteur. |
| OnDescriptorRead(BluetoothGatt, BluetoothGattDescriptor, GattStatus) |
Rappel signalant le résultat d’une opération de lecture de descripteur. |
OnDescriptorRead(BluetoothGatt, BluetoothGattDescriptor, GattStatus, Byte[])
Rappel signalant le résultat d’une opération de lecture de descripteur.
[Android.Runtime.Register("onDescriptorRead", "(Landroid/bluetooth/BluetoothGatt;Landroid/bluetooth/BluetoothGattDescriptor;I[B)V", "GetOnDescriptorRead_Landroid_bluetooth_BluetoothGatt_Landroid_bluetooth_BluetoothGattDescriptor_IarrayBHandler", ApiSince=33)]
public virtual void OnDescriptorRead(Android.Bluetooth.BluetoothGatt gatt, Android.Bluetooth.BluetoothGattDescriptor descriptor, Android.Bluetooth.GattStatus status, byte[] value);
[<Android.Runtime.Register("onDescriptorRead", "(Landroid/bluetooth/BluetoothGatt;Landroid/bluetooth/BluetoothGattDescriptor;I[B)V", "GetOnDescriptorRead_Landroid_bluetooth_BluetoothGatt_Landroid_bluetooth_BluetoothGattDescriptor_IarrayBHandler", ApiSince=33)>]
abstract member OnDescriptorRead : Android.Bluetooth.BluetoothGatt * Android.Bluetooth.BluetoothGattDescriptor * Android.Bluetooth.GattStatus * byte[] -> unit
override this.OnDescriptorRead : Android.Bluetooth.BluetoothGatt * Android.Bluetooth.BluetoothGattDescriptor * Android.Bluetooth.GattStatus * byte[] -> unit
Paramètres
- gatt
- BluetoothGatt
Client GATT appelé BluetoothGatt#readDescriptor
- descriptor
- BluetoothGattDescriptor
Descripteur lu à partir de l’appareil distant associé.
- status
- GattStatus
BluetoothGatt#GATT_SUCCESS si l’opération de lecture a été effectuée avec succès
- value
- Byte[]
valeur du descripteur au moment de l’opération de lecture
- Attributs
Remarques
Rappel signalant le résultat d’une opération de lecture de descripteur.
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 à
OnDescriptorRead(BluetoothGatt, BluetoothGattDescriptor, GattStatus)
Rappel signalant le résultat d’une opération de lecture de descripteur.
[Android.Runtime.Register("onDescriptorRead", "(Landroid/bluetooth/BluetoothGatt;Landroid/bluetooth/BluetoothGattDescriptor;I)V", "GetOnDescriptorRead_Landroid_bluetooth_BluetoothGatt_Landroid_bluetooth_BluetoothGattDescriptor_IHandler")]
public virtual void OnDescriptorRead(Android.Bluetooth.BluetoothGatt? gatt, Android.Bluetooth.BluetoothGattDescriptor? descriptor, Android.Bluetooth.GattStatus status);
[<Android.Runtime.Register("onDescriptorRead", "(Landroid/bluetooth/BluetoothGatt;Landroid/bluetooth/BluetoothGattDescriptor;I)V", "GetOnDescriptorRead_Landroid_bluetooth_BluetoothGatt_Landroid_bluetooth_BluetoothGattDescriptor_IHandler")>]
abstract member OnDescriptorRead : Android.Bluetooth.BluetoothGatt * Android.Bluetooth.BluetoothGattDescriptor * Android.Bluetooth.GattStatus -> unit
override this.OnDescriptorRead : Android.Bluetooth.BluetoothGatt * Android.Bluetooth.BluetoothGattDescriptor * Android.Bluetooth.GattStatus -> unit
Paramètres
- gatt
- BluetoothGatt
Client GATT appelé BluetoothGatt#readDescriptor
- descriptor
- BluetoothGattDescriptor
Descripteur lu à partir de l’appareil distant associé.
- status
- GattStatus
BluetoothGatt#GATT_SUCCESS si l’opération de lecture a été effectuée avec succès
- Attributs
Remarques
Rappel signalant le résultat d’une opération de lecture de descripteur.
Ce membre est déconseillé. Utilisez BluetoothGattCallback#onDescriptorRead(BluetoothGatt, BluetoothGattDescriptor, int, byte[]) comme il s’agit d’une mémoire sécurisée en fournissant la valeur du descripteur au moment où elle a été lue.
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.