語言

BluetoothGattCharacteristic.AddDescriptor(BluetoothGattDescriptor) 方法

定義

為這個特性增添了一個描述。

[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

參數

descriptor
BluetoothGattDescriptor

將為此特徵添加描述。

傳回

若描述符被加入特徵後,則為真

屬性

備註

為這個特性增添了一個描述。

Java 文件 android.bluetooth.BluetoothGattCharacteristic.addDescriptor(android.bluetooth.BluetoothGattDescriptor)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於