BluetoothGattCharacteristic.GetDescriptor(UUID) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回具有给定 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
返回
如果未找到给定 UUID 的描述符,则 GATT 描述符对象或 null。
- 特性
注解
返回具有给定 UUID 的描述符的描述符,该描述符从此特征的描述符列表中返回。
Java文档android.bluetooth.BluetoothGattCharacteristic.getDescriptor(java.util.UUID)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。