RfcommDeviceService.GetDeviceSelector(RfcommServiceId) 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.
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 const& serviceId);
public static string GetDeviceSelector(RfcommServiceId serviceId);
function getDeviceSelector(serviceId)
Public Shared Function GetDeviceSelector (serviceId As RfcommServiceId) As String
Parameters
- serviceId
- RfcommServiceId
The service id for which to query.
Returns
An AQS string for identifying RFCOMM service instances.
Windows requirements
App capabilities |
bluetooth
|