BluetoothDevice.GetDeviceSelectorFromBluetoothAddress(UInt64) Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Membuat string filter Advanced Query Syntax (AQS) dari alamat 64-bit yang mewakili perangkat Bluetooth. String AQS diteruskan ke metode CreateWatcher untuk mengembalikan kumpulan objek DeviceInformation .
public:
static Platform::String ^ GetDeviceSelectorFromBluetoothAddress(unsigned long long bluetoothAddress);
static winrt::hstring GetDeviceSelectorFromBluetoothAddress(uint64_t const& bluetoothAddress);
public static string GetDeviceSelectorFromBluetoothAddress(ulong bluetoothAddress);
function getDeviceSelectorFromBluetoothAddress(bluetoothAddress)
Public Shared Function GetDeviceSelectorFromBluetoothAddress (bluetoothAddress As ULong) As String
Parameter
- bluetoothAddress
-
UInt64
unsigned long long
uint64_t
Alamat perangkat Bluetooth 64-bit yang digunakan untuk membuat string AQS.
Mengembalikan
String AQS yang dapat diteruskan sebagai parameter ke metode CreateWatcher .
Persyaratan Windows
Rangkaian perangkat |
Windows 10 (diperkenalkan dalam 10.0.10586.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
API contract |
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v2.0)
|
Kemampuan aplikasi |
bluetooth
|
Berlaku untuk
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk