BluetoothGattService.GetCharacteristic(UUID) Method

Definition

Returns a characteristic with a given UUID out of the list of characteristics offered by this service.

[Android.Runtime.Register("getCharacteristic", "(Ljava/util/UUID;)Landroid/bluetooth/BluetoothGattCharacteristic;", "GetGetCharacteristic_Ljava_util_UUID_Handler")]
public virtual Android.Bluetooth.BluetoothGattCharacteristic? GetCharacteristic (Java.Util.UUID? uuid);
[<Android.Runtime.Register("getCharacteristic", "(Ljava/util/UUID;)Landroid/bluetooth/BluetoothGattCharacteristic;", "GetGetCharacteristic_Ljava_util_UUID_Handler")>]
abstract member GetCharacteristic : Java.Util.UUID -> Android.Bluetooth.BluetoothGattCharacteristic
override this.GetCharacteristic : Java.Util.UUID -> Android.Bluetooth.BluetoothGattCharacteristic

Parameters

uuid
UUID

Returns

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

Attributes

Remarks

Java documentation for android.bluetooth.BluetoothGattService.getCharacteristic(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