-api-id | -api-type | -api-device-family-note |
---|---|---|
M:Windows.Devices.Bluetooth.GenericAttributeProfile.GattDeviceService.GetCharacteristics(System.Guid) |
winrt method |
xbox |
Returns a vector of characteristics, that are identified by the specified UUID and belong to this GattDeviceService instance.
Important
The GetCharacteristics API is deprecated, and it may not be available in future versions of Windows. Instead, use GetCharacteristicsForUuidAsync.
The UUID for the characteristics to be retrieved.
A vector of GattCharacteristic objects whose UUIDs match characteristicUuid.
Only a single app can access a single service. If one app has registered a GATT notification trigger, this method will throw an exception for all other apps that sub subsequently call this API.
bluetooth