RfcommDeviceService.GetDeviceSelectorForBluetoothDeviceAndServiceId Método

Definición

Sobrecargas

GetDeviceSelectorForBluetoothDeviceAndServiceId(BluetoothDevice, RfcommServiceId)

Obtiene una cadena de sintaxis de consulta avanzada (AQS) para identificar instancias de servicios Rfcomm en un dispositivo Bluetooth remoto.

GetDeviceSelectorForBluetoothDeviceAndServiceId(BluetoothDevice, RfcommServiceId, BluetoothCacheMode)

Obtiene una cadena de sintaxis de consulta avanzada (AQS) para identificar instancias de servicios Rfcomm en un dispositivo Bluetooth remoto.

GetDeviceSelectorForBluetoothDeviceAndServiceId(BluetoothDevice, RfcommServiceId)

Obtiene una cadena de sintaxis de consulta avanzada (AQS) para identificar instancias de servicios Rfcomm en un dispositivo Bluetooth remoto.

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

Parámetros

bluetoothDevice
BluetoothDevice

El dispositivo Bluetooth remoto.

serviceId
RfcommServiceId

El identificador de servicio.

Devoluciones

String

Platform::String

winrt::hstring

Cadena de AQS para identificar instancias de servicios Rfcomm.

Atributos

Requisitos de Windows

Familia de dispositivos
Windows 10 Anniversary Edition (se introdujo en la versión 10.0.14393.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (se introdujo en la versión v3.0)
Características de aplicaciones
bluetooth

Consulte también

Se aplica a

GetDeviceSelectorForBluetoothDeviceAndServiceId(BluetoothDevice, RfcommServiceId, BluetoothCacheMode)

Obtiene una cadena de sintaxis de consulta avanzada (AQS) para identificar instancias de servicios Rfcomm en un dispositivo Bluetooth remoto.

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

Parámetros

bluetoothDevice
BluetoothDevice

El dispositivo Bluetooth remoto.

serviceId
RfcommServiceId

El identificador de servicio.

cacheMode
BluetoothCacheMode

Modo de caché.

Devoluciones

String

Platform::String

winrt::hstring

Cadena de AQS para identificar instancias de servicios Rfcomm.

Atributos

Requisitos de Windows

Familia de dispositivos
Windows 10 Anniversary Edition (se introdujo en la versión 10.0.14393.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (se introdujo en la versión v3.0)
Características de aplicaciones
bluetooth

Consulte también

Se aplica a