BluetoothDeviceId BluetoothDeviceId BluetoothDeviceId BluetoothDeviceId Class

Definition

Some information relates to pre-released product which may be substantially modified before it’s commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Prerelease APIs are identified by a Prerelease label.

[Contains prerelease APIs.]
Represents a bluetooth device ID.

public : sealed class BluetoothDeviceId : IBluetoothDeviceIdpublic sealed class BluetoothDeviceId : IBluetoothDeviceIdPublic NotInheritable Class BluetoothDeviceId Implements IBluetoothDeviceId// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)

Properties

Id Id Id Id

Gets the bluetooth device ID.

public : PlatForm::String Id { get; }public string Id { get; }Public ReadOnly Property Id As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

Gets the bluetooth device ID.

IsClassicDevice IsClassicDevice IsClassicDevice IsClassicDevice

Gets a boolean indicating if this is a classic device.

public : PlatForm::Boolean IsClassicDevice { get; }public bool IsClassicDevice { get; }Public ReadOnly Property IsClassicDevice As bool// You can use this property in JavaScript.
Value
PlatForm::Boolean bool bool bool

Gets a boolean indicating if this is a classic device.

IsLowEnergyDevice IsLowEnergyDevice IsLowEnergyDevice IsLowEnergyDevice

Gets a boolean indicating if this is a LowEnergy device.

public : PlatForm::Boolean IsLowEnergyDevice { get; }public bool IsLowEnergyDevice { get; }Public ReadOnly Property IsLowEnergyDevice As bool// You can use this property in JavaScript.
Value
PlatForm::Boolean bool bool bool

Gets a boolean indicating if this is a LowEnergy device.

Methods

FromId(String) FromId(String) FromId(String) FromId(String)

Prerelease. Creates a BluetoothDeviceId object from the device ID.

public : static BluetoothDeviceId FromId(PlatForm::String deviceId)public static BluetoothDeviceId FromId(String deviceId)Public Static Function FromId(deviceId As String) As BluetoothDeviceId// You can use this method in JavaScript.
Parameters
deviceId
PlatForm::String String String String

The device ID.

Returns
Additional features and requirements
Device family
Windows 10 Insider Preview (introduced v10.0.16257.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)