RfcommDeviceService.GetDeviceSelector(RfcommServiceId) RfcommDeviceService.GetDeviceSelector(RfcommServiceId) RfcommDeviceService.GetDeviceSelector(RfcommServiceId) RfcommDeviceService.GetDeviceSelector(RfcommServiceId) RfcommDeviceService.GetDeviceSelector(RfcommServiceId) Method

Definition

Gets an Advanced Query Syntax (AQS) string for identifying instances of an RFCOMM service. This string is passed to the CreateWatcher method.

public : static Platform::String GetDeviceSelector(RfcommServiceId serviceId)
static winrt::hstring GetDeviceSelector(RfcommServiceId serviceId) const;
public static string GetDeviceSelector(RfcommServiceId serviceId)
Public Shared Function GetDeviceSelector(serviceId As RfcommServiceId) As string
var string = Windows.Devices.Bluetooth.Rfcomm.RfcommDeviceService.getDeviceSelector(serviceId);

Parameters

serviceId
RfcommServiceId RfcommServiceId RfcommServiceId

The service id for which to query.

Returns

string string string

An AQS string for identifying RFCOMM service instances.

Additional features and requirements

Capabilities
bluetooth