次の方法で共有


BluetoothLEDevice.GetDeviceSelectorFromBluetoothAddress メソッド

定義

オーバーロード

GetDeviceSelectorFromBluetoothAddress(UInt64)

Bluetooth LE デバイスを表す 64 ビット アドレスから高度なクエリ構文 (AQS) フィルター文字列を作成します。 AQS 文字列は CreateWatcher メソッドに渡され、 DeviceInformation オブジェクトのコレクションを返します。

GetDeviceSelectorFromBluetoothAddress(UInt64, BluetoothAddressType)

Bluetooth LE デバイスを表す 64 ビットのアドレスとアドレスの種類から高度なクエリ構文 (AQS) フィルター文字列を作成します。 AQS 文字列は CreateWatcher メソッドに渡されます。

GetDeviceSelectorFromBluetoothAddress(UInt64)

Bluetooth LE デバイスを表す 64 ビット アドレスから高度なクエリ構文 (AQS) フィルター文字列を作成します。 AQS 文字列は CreateWatcher メソッドに渡され、 DeviceInformation オブジェクトのコレクションを返します。

public:
 static Platform::String ^ GetDeviceSelectorFromBluetoothAddress(unsigned long long bluetoothAddress);
/// [Windows.Foundation.Metadata.Overload("GetDeviceSelectorFromBluetoothAddress")]
 static winrt::hstring GetDeviceSelectorFromBluetoothAddress(uint64_t const& bluetoothAddress);
[Windows.Foundation.Metadata.Overload("GetDeviceSelectorFromBluetoothAddress")]
public static string GetDeviceSelectorFromBluetoothAddress(ulong bluetoothAddress);
function getDeviceSelectorFromBluetoothAddress(bluetoothAddress)
Public Shared Function GetDeviceSelectorFromBluetoothAddress (bluetoothAddress As ULong) As String

パラメーター

bluetoothAddress
UInt64

unsigned long long

uint64_t

AQS 文字列の構築に使用される 64 ビットの Bluetooth LE デバイス アドレス。

戻り値

String

Platform::String

winrt::hstring

CreateWatcher メソッドにパラメーターとして渡すことができる AQS 文字列。

属性

Windows の要件

デバイス ファミリ
Windows 10 (10.0.10586.0 - for Xbox, see UWP features that aren't yet supported on Xbox で導入)
API contract
Windows.Foundation.UniversalApiContract (v2.0 で導入)
アプリの機能
bluetooth

こちらもご覧ください

適用対象

GetDeviceSelectorFromBluetoothAddress(UInt64, BluetoothAddressType)

Bluetooth LE デバイスを表す 64 ビットのアドレスとアドレスの種類から高度なクエリ構文 (AQS) フィルター文字列を作成します。 AQS 文字列は CreateWatcher メソッドに渡されます。

public:
 static Platform::String ^ GetDeviceSelectorFromBluetoothAddress(unsigned long long bluetoothAddress, BluetoothAddressType bluetoothAddressType);
/// [Windows.Foundation.Metadata.Overload("GetDeviceSelectorFromBluetoothAddressWithBluetoothAddressType")]
 static winrt::hstring GetDeviceSelectorFromBluetoothAddress(uint64_t const& bluetoothAddress, BluetoothAddressType const& bluetoothAddressType);
[Windows.Foundation.Metadata.Overload("GetDeviceSelectorFromBluetoothAddressWithBluetoothAddressType")]
public static string GetDeviceSelectorFromBluetoothAddress(ulong bluetoothAddress, BluetoothAddressType bluetoothAddressType);
function getDeviceSelectorFromBluetoothAddress(bluetoothAddress, bluetoothAddressType)
Public Shared Function GetDeviceSelectorFromBluetoothAddress (bluetoothAddress As ULong, bluetoothAddressType As BluetoothAddressType) As String

パラメーター

bluetoothAddress
UInt64

unsigned long long

uint64_t

AQS 文字列の構築に使用される 64 ビットの Bluetooth LE デバイス アドレス。

bluetoothAddressType
BluetoothAddressType

Bluetooth LE デバイスのアドレスの種類。

戻り値

String

Platform::String

winrt::hstring

CreateWatcher メソッドにパラメーターとして渡すことができる AQS 文字列。

属性

Windows の要件

デバイス ファミリ
Windows 10 (10.0.10586.0 - for Xbox, see UWP features that aren't yet supported on Xbox で導入)
API contract
Windows.Foundation.UniversalApiContract (v2.0 で導入)
アプリの機能
bluetooth

こちらもご覧ください

適用対象