GattDeviceService.GetDeviceSelectorFromUuid(Guid) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a suitable AQS Filter string for use with the CreateWatcher method, from a Bluetooth service UUID.
public:
static Platform::String ^ GetDeviceSelectorFromUuid(Platform::Guid serviceUuid);
static winrt::hstring GetDeviceSelectorFromUuid(winrt::guid const& serviceUuid);
public static string GetDeviceSelectorFromUuid(Guid serviceUuid);
function getDeviceSelectorFromUuid(serviceUuid)
Public Shared Function GetDeviceSelectorFromUuid (serviceUuid As Guid) As String
Parameters
- serviceUuid
-
Guid
Platform::Guid
winrt::guid
A 128-bit Bluetooth GATT Service UUID, represented as a standard GUID object.
Returns
A suitable AQS Selector String which can be passed as a parameter to the CreateWatcher method, in order to retrieve a GATT service instance path.
Windows requirements
App capabilities |
bluetooth
|