語言

BluetoothGattCharacteristic.GetDescriptor(UUID) 方法

定義

從該特徵的描述符列表中回傳一個具有特定 UUID 的描述符。

[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

參數

uuid
UUID

傳回

GATT 描述符物件,或若未找到符合特定 UUID 的描述符,則為空。

屬性

備註

從該特徵的描述符列表中回傳一個具有特定 UUID 的描述符。

Java 文件 android.bluetooth.BluetoothGattCharacteristic.getDescriptor(java.util.UUID)。

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

適用於