GattDeviceService.GetDeviceSelectorForBluetoothDeviceId Metode

Definisi

Overload

GetDeviceSelectorForBluetoothDeviceId(BluetoothDeviceId, BluetoothCacheMode)

Membuat string Filter AQS yang sesuai untuk digunakan dengan metode CreateWatcher , dari BluetoothDeviceId.

GetDeviceSelectorForBluetoothDeviceId(BluetoothDeviceId)

Membuat string Filter AQS yang sesuai untuk digunakan dengan metode CreateWatcher , dari BluetoothDeviceId.

GetDeviceSelectorForBluetoothDeviceId(BluetoothDeviceId, BluetoothCacheMode)

Membuat string Filter AQS yang sesuai untuk digunakan dengan metode CreateWatcher , dari 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

Parameter

bluetoothDeviceId
BluetoothDeviceId

ID perangkat bluetooth.

cacheMode
BluetoothCacheMode

Mode cache.

Mengembalikan

String

Platform::String

winrt::hstring

String Pemilih AQS yang sesuai yang dapat diteruskan sebagai parameter ke metode CreateWatcher , untuk mengambil jalur instans layanan GATT

Atribut

Persyaratan Windows

Rangkaian perangkat
Windows 10 Creators Update (diperkenalkan dalam 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v4.0)
Kemampuan aplikasi
bluetooth

Berlaku untuk

GetDeviceSelectorForBluetoothDeviceId(BluetoothDeviceId)

Membuat string Filter AQS yang sesuai untuk digunakan dengan metode CreateWatcher , dari 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

Parameter

bluetoothDeviceId
BluetoothDeviceId

ID perangkat bluetooth.

Mengembalikan

String

Platform::String

winrt::hstring

String Pemilih AQS yang sesuai yang dapat diteruskan sebagai parameter ke metode CreateWatcher , untuk mengambil jalur instans layanan GATT

Atribut

Persyaratan Windows

Rangkaian perangkat
Windows 10 Creators Update (diperkenalkan dalam 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v4.0)
Kemampuan aplikasi
bluetooth

Berlaku untuk