Jaa


BluetoothDeviceId.FromId(String) Method

Definition

Creates a BluetoothDeviceId object from the device ID.

public:
 static BluetoothDeviceId ^ FromId(Platform::String ^ deviceId);
 static BluetoothDeviceId FromId(winrt::hstring const& deviceId);
public static BluetoothDeviceId FromId(string deviceId);
function fromId(deviceId)
Public Shared Function FromId (deviceId As String) As BluetoothDeviceId

Parameters

deviceId
String

Platform::String

winrt::hstring

The device ID.

Returns

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)
App capabilities
bluetooth

Applies to