BluetoothGattCharacteristic.AddDescriptor(BluetoothGattDescriptor) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
為這個特性增添了一個描述。
[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
將為此特徵添加描述。
傳回
若描述符被加入特徵後,則為真
- 屬性
備註
為這個特性增添了一個描述。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。