RfcommDeviceService.GetDeviceSelectorForBluetoothDevice Метод

Определение

Перегрузки

GetDeviceSelectorForBluetoothDevice(BluetoothDevice, BluetoothCacheMode)

Возвращает строку расширенного синтаксиса запросов (AQS) для идентификации кэшированных экземпляров всех служб Rfcomm на удаленном устройстве Bluetooth.

GetDeviceSelectorForBluetoothDevice(BluetoothDevice)

Возвращает строку расширенного синтаксиса запросов (AQS) для идентификации экземпляров всех служб Rfcomm на удаленном устройстве Bluetooth.

GetDeviceSelectorForBluetoothDevice(BluetoothDevice, BluetoothCacheMode)

Возвращает строку расширенного синтаксиса запросов (AQS) для идентификации кэшированных экземпляров всех служб Rfcomm на удаленном устройстве Bluetooth.

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

Параметры

bluetoothDevice
BluetoothDevice

Удаленное устройство Bluetooth.

cacheMode
BluetoothCacheMode

Режим кэша.

Возвращаемое значение

String

Platform::String

winrt::hstring

Строка AQS для идентификации кэшированных экземпляров всех служб Rfcomm на удаленном устройстве Bluetooth.

Атрибуты

Требования к Windows

Семейство устройств
Windows 10 Anniversary Edition (появилось в 10.0.14393.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (появилось в v3.0)
Возможности приложения
bluetooth

См. также раздел

Применяется к

GetDeviceSelectorForBluetoothDevice(BluetoothDevice)

Возвращает строку расширенного синтаксиса запросов (AQS) для идентификации экземпляров всех служб Rfcomm на удаленном устройстве Bluetooth.

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

Параметры

bluetoothDevice
BluetoothDevice

Удаленное устройство Bluetooth.

Возвращаемое значение

String

Platform::String

winrt::hstring

Строка AQS для идентификации экземпляров всех служб Rfcomm на удаленном устройстве Bluetooth.

Атрибуты

Требования к Windows

Семейство устройств
Windows 10 Anniversary Edition (появилось в 10.0.14393.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (появилось в v3.0)
Возможности приложения
bluetooth

См. также раздел

Применяется к