Partager via


RfcommDeviceService.GetDeviceSelectorForBluetoothDeviceAndServiceId Méthode

Définition

Surcharges

GetDeviceSelectorForBluetoothDeviceAndServiceId(BluetoothDevice, RfcommServiceId)

Obtient une chaîne AQS (Advanced Query Syntax) pour identifier les instances des services Rfcomm sur un appareil Bluetooth distant.

GetDeviceSelectorForBluetoothDeviceAndServiceId(BluetoothDevice, RfcommServiceId, BluetoothCacheMode)

Obtient une chaîne AQS (Advanced Query Syntax) pour identifier les instances des services Rfcomm sur un appareil Bluetooth distant.

GetDeviceSelectorForBluetoothDeviceAndServiceId(BluetoothDevice, RfcommServiceId)

Obtient une chaîne AQS (Advanced Query Syntax) pour identifier les instances des services Rfcomm sur un appareil Bluetooth distant.

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

Paramètres

bluetoothDevice
BluetoothDevice

Périphérique Bluetooth distant.

serviceId
RfcommServiceId

ID de service.

Retours

String

Platform::String

winrt::hstring

Chaîne AQS permettant d’identifier les instances des services Rfcomm.

Attributs

Configuration requise pour Windows

Famille d’appareils
Windows 10 Anniversary Edition (introduit dans 10.0.14393.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduit dans v3.0)
Fonctionnalités de l’application
bluetooth

Voir aussi

S’applique à

GetDeviceSelectorForBluetoothDeviceAndServiceId(BluetoothDevice, RfcommServiceId, BluetoothCacheMode)

Obtient une chaîne AQS (Advanced Query Syntax) pour identifier les instances des services Rfcomm sur un appareil Bluetooth distant.

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

Paramètres

bluetoothDevice
BluetoothDevice

Périphérique Bluetooth distant.

serviceId
RfcommServiceId

ID de service.

cacheMode
BluetoothCacheMode

Mode cache.

Retours

String

Platform::String

winrt::hstring

Chaîne AQS permettant d’identifier les instances des services Rfcomm.

Attributs

Configuration requise pour Windows

Famille d’appareils
Windows 10 Anniversary Edition (introduit dans 10.0.14393.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduit dans v3.0)
Fonctionnalités de l’application
bluetooth

Voir aussi

S’applique à