Langue

BluetoothGattCharacteristic.AddDescriptor(BluetoothGattDescriptor) Méthode

Définition

Ajoute un descripteur à cette caractéristique.

[Android.Runtime.Register("addDescriptor", "(Landroid/bluetooth/BluetoothGattDescriptor;)Z", "GetAddDescriptor_Landroid_bluetooth_BluetoothGattDescriptor_Handler")]
public virtual bool AddDescriptor(Android.Bluetooth.BluetoothGattDescriptor? descriptor);
[<Android.Runtime.Register("addDescriptor", "(Landroid/bluetooth/BluetoothGattDescriptor;)Z", "GetAddDescriptor_Landroid_bluetooth_BluetoothGattDescriptor_Handler")>]
abstract member AddDescriptor : Android.Bluetooth.BluetoothGattDescriptor -> bool
override this.AddDescriptor : Android.Bluetooth.BluetoothGattDescriptor -> bool

Paramètres

descriptor
BluetoothGattDescriptor

Descripteur à ajouter à cette caractéristique.

Retours

true, si le descripteur a été ajouté à la caractéristique

Attributs

Remarques

Ajoute un descripteur à cette caractéristique.

Java documentation pour android.bluetooth.BluetoothGattCharacteristic.addDescriptor(android.bluetooth.BluetoothGattDescriptor).

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 à