Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 1.3 KB

gattdeviceservice_getcharacteristics_1478897314.md

File metadata and controls

34 lines (24 loc) · 1.3 KB
-api-id -api-type -api-device-family-note
M:Windows.Devices.Bluetooth.GenericAttributeProfile.GattDeviceService.GetCharacteristics(System.Guid)
winrt method
xbox

Windows.Devices.Bluetooth.GenericAttributeProfile.GattDeviceService.GetCharacteristics

-description

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.

-parameters

-param characteristicUuid

The UUID for the characteristics to be retrieved.

-returns

A vector of GattCharacteristic objects whose UUIDs match characteristicUuid.

-remarks

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.

-examples

-see-also

-capabilities

bluetooth