Compartir a través de


BluetoothGattCharacteristic.GetDescriptor(UUID) Method

Definition

Returns a descriptor with a given UUID out of the list of descriptors for this characteristic.

[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

Parameters

uuid
UUID

Returns

GATT descriptor object or null if no descriptor with the given UUID was found.

Attributes

Remarks

Java documentation for android.bluetooth.BluetoothGattCharacteristic.getDescriptor(java.util.UUID).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to