GattDeviceService.GetDeviceSelectorForBluetoothDeviceId Metodo

Definizione

Overload

GetDeviceSelectorForBluetoothDeviceId(BluetoothDeviceId, BluetoothCacheMode)

Crea una stringa di filtro AQS adatta da usare con il metodo CreateWatcher da un BluetoothDeviceId.

GetDeviceSelectorForBluetoothDeviceId(BluetoothDeviceId)

Crea una stringa di filtro AQS adatta da usare con il metodo CreateWatcher da un BluetoothDeviceId.

GetDeviceSelectorForBluetoothDeviceId(BluetoothDeviceId, BluetoothCacheMode)

Crea una stringa di filtro AQS adatta da usare con il metodo CreateWatcher da un BluetoothDeviceId.

public:
 static Platform::String ^ GetDeviceSelectorForBluetoothDeviceId(BluetoothDeviceId ^ bluetoothDeviceId, BluetoothCacheMode cacheMode);
/// [Windows.Foundation.Metadata.Overload("GetDeviceSelectorForBluetoothDeviceIdWithCacheMode")]
 static winrt::hstring GetDeviceSelectorForBluetoothDeviceId(BluetoothDeviceId const& bluetoothDeviceId, BluetoothCacheMode const& cacheMode);
[Windows.Foundation.Metadata.Overload("GetDeviceSelectorForBluetoothDeviceIdWithCacheMode")]
public static string GetDeviceSelectorForBluetoothDeviceId(BluetoothDeviceId bluetoothDeviceId, BluetoothCacheMode cacheMode);
function getDeviceSelectorForBluetoothDeviceId(bluetoothDeviceId, cacheMode)
Public Shared Function GetDeviceSelectorForBluetoothDeviceId (bluetoothDeviceId As BluetoothDeviceId, cacheMode As BluetoothCacheMode) As String

Parametri

bluetoothDeviceId
BluetoothDeviceId

ID dispositivo Bluetooth.

cacheMode
BluetoothCacheMode

Modalità cache.

Restituisce

String

Platform::String

winrt::hstring

Stringa del selettore AQS appropriata che può essere passata come parametro al metodo CreateWatcher , per recuperare un percorso dell'istanza del servizio GATT

Attributi

Requisiti Windows

Famiglia di dispositivi
Windows 10 Creators Update (è stato introdotto in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v4.0)
Funzionalità dell'app
bluetooth

Si applica a

GetDeviceSelectorForBluetoothDeviceId(BluetoothDeviceId)

Crea una stringa di filtro AQS adatta da usare con il metodo CreateWatcher da un BluetoothDeviceId.

public:
 static Platform::String ^ GetDeviceSelectorForBluetoothDeviceId(BluetoothDeviceId ^ bluetoothDeviceId);
/// [Windows.Foundation.Metadata.Overload("GetDeviceSelectorForBluetoothDeviceId")]
 static winrt::hstring GetDeviceSelectorForBluetoothDeviceId(BluetoothDeviceId const& bluetoothDeviceId);
[Windows.Foundation.Metadata.Overload("GetDeviceSelectorForBluetoothDeviceId")]
public static string GetDeviceSelectorForBluetoothDeviceId(BluetoothDeviceId bluetoothDeviceId);
function getDeviceSelectorForBluetoothDeviceId(bluetoothDeviceId)
Public Shared Function GetDeviceSelectorForBluetoothDeviceId (bluetoothDeviceId As BluetoothDeviceId) As String

Parametri

bluetoothDeviceId
BluetoothDeviceId

ID dispositivo Bluetooth.

Restituisce

String

Platform::String

winrt::hstring

Stringa del selettore AQS appropriata che può essere passata come parametro al metodo CreateWatcher , per recuperare un percorso dell'istanza del servizio GATT

Attributi

Requisiti Windows

Famiglia di dispositivi
Windows 10 Creators Update (è stato introdotto in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v4.0)
Funzionalità dell'app
bluetooth

Si applica a