Langue

BluetoothGattCharacteristic.GetDescriptor(UUID) Méthode

Définition

Retourne un descripteur avec un UUID donné hors de la liste des descripteurs pour cette caractéristique.

[Android.Runtime.Register("getDescriptor", "(Ljava/util/UUID;)Landroid/bluetooth/BluetoothGattDescriptor;", "GetGetDescriptor_Ljava_util_UUID_Handler")]
public virtual Android.Bluetooth.BluetoothGattDescriptor? GetDescriptor(Java.Util.UUID? uuid);
[<Android.Runtime.Register("getDescriptor", "(Ljava/util/UUID;)Landroid/bluetooth/BluetoothGattDescriptor;", "GetGetDescriptor_Ljava_util_UUID_Handler")>]
abstract member GetDescriptor : Java.Util.UUID -> Android.Bluetooth.BluetoothGattDescriptor
override this.GetDescriptor : Java.Util.UUID -> Android.Bluetooth.BluetoothGattDescriptor

Paramètres

uuid
UUID

Retours

Objet de descripteur GATT ou null si aucun descripteur avec l’UUID donné a été trouvé.

Attributs

Remarques

Retourne un descripteur avec un UUID donné hors de la liste des descripteurs pour cette caractéristique.

Java documentation pour android.bluetooth.BluetoothGattCharacteristic.getDescriptor(java.util.UUID).

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 à