Delen via


RfcommDeviceService.GetDeviceSelectorForBluetoothDevice Method

Definition

Overloads

GetDeviceSelectorForBluetoothDevice(BluetoothDevice, BluetoothCacheMode)

Gets an Advanced Query Syntax (AQS) string for identifying cached instances of all Rfcomm services on a remote Bluetooth device.

GetDeviceSelectorForBluetoothDevice(BluetoothDevice)

Gets an Advanced Query Syntax (AQS) string for identifying instances of all Rfcomm services on a remote Bluetooth device.

GetDeviceSelectorForBluetoothDevice(BluetoothDevice, BluetoothCacheMode)

Gets an Advanced Query Syntax (AQS) string for identifying cached instances of all Rfcomm services on a remote Bluetooth device.

public:
 static Platform::String ^ GetDeviceSelectorForBluetoothDevice(BluetoothDevice ^ bluetoothDevice, BluetoothCacheMode cacheMode);
/// [Windows.Foundation.Metadata.Overload("GetDeviceSelectorForBluetoothDeviceWithCacheMode")]
 static winrt::hstring GetDeviceSelectorForBluetoothDevice(BluetoothDevice const& bluetoothDevice, BluetoothCacheMode const& cacheMode);
[Windows.Foundation.Metadata.Overload("GetDeviceSelectorForBluetoothDeviceWithCacheMode")]
public static string GetDeviceSelectorForBluetoothDevice(BluetoothDevice bluetoothDevice, BluetoothCacheMode cacheMode);
function getDeviceSelectorForBluetoothDevice(bluetoothDevice, cacheMode)
Public Shared Function GetDeviceSelectorForBluetoothDevice (bluetoothDevice As BluetoothDevice, cacheMode As BluetoothCacheMode) As String

Parameters

bluetoothDevice
BluetoothDevice

The remote Bluetooth device.

cacheMode
BluetoothCacheMode

The cache mode.

Returns

String

Platform::String

winrt::hstring

The AQS string for identifying cached instances of all Rfcomm services on a remote Bluetooth device.

Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)
App capabilities
bluetooth

See also

Applies to

GetDeviceSelectorForBluetoothDevice(BluetoothDevice)

Gets an Advanced Query Syntax (AQS) string for identifying instances of all Rfcomm services on a remote Bluetooth device.

public:
 static Platform::String ^ GetDeviceSelectorForBluetoothDevice(BluetoothDevice ^ bluetoothDevice);
/// [Windows.Foundation.Metadata.Overload("GetDeviceSelectorForBluetoothDevice")]
 static winrt::hstring GetDeviceSelectorForBluetoothDevice(BluetoothDevice const& bluetoothDevice);
[Windows.Foundation.Metadata.Overload("GetDeviceSelectorForBluetoothDevice")]
public static string GetDeviceSelectorForBluetoothDevice(BluetoothDevice bluetoothDevice);
function getDeviceSelectorForBluetoothDevice(bluetoothDevice)
Public Shared Function GetDeviceSelectorForBluetoothDevice (bluetoothDevice As BluetoothDevice) As String

Parameters

bluetoothDevice
BluetoothDevice

The remote bluetooth device.

Returns

String

Platform::String

winrt::hstring

The AQS string for identifying instances of all Rfcomm services on a remote Bluetooth device.

Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)
App capabilities
bluetooth

See also

Applies to