BluetoothDevice BluetoothDevice BluetoothDevice BluetoothDevice 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.

public : sealed class BluetoothDevice : IBluetoothDevice, IBluetoothDevice2, IBluetoothDevice3, IBluetoothDevice4, IClosablepublic sealed class BluetoothDevice : IBluetoothDevice, IBluetoothDevice2, IBluetoothDevice3, IBluetoothDevice4, IDisposablePublic NotInheritable Class BluetoothDevice Implements IBluetoothDevice, IBluetoothDevice2, IBluetoothDevice3, IBluetoothDevice4, IDisposable// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
bluetooth

Properties

BluetoothAddress BluetoothAddress BluetoothAddress BluetoothAddress

Gets the device address.

public : ulong BluetoothAddress { get; }public ulong BluetoothAddress { get; }Public ReadOnly Property BluetoothAddress As ulong// You can use this property in JavaScript.
Value
ulong ulong ulong ulong

The device address.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
bluetooth

BluetoothDeviceId BluetoothDeviceId BluetoothDeviceId BluetoothDeviceId

Prerelease. Gets the bluetooth device ID.

public : BluetoothDeviceId BluetoothDeviceId { get; }public BluetoothDeviceId BluetoothDeviceId { get; }Public ReadOnly Property BluetoothDeviceId As BluetoothDeviceId// You can use this property in JavaScript.
Additional features and requirements
Device family
Windows 10 Insider Preview (introduced v10.0.16257.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)
Capabilities
bluetooth

ClassOfDevice ClassOfDevice ClassOfDevice ClassOfDevice

Gets the Bluetooth Class Of Device information of the device.

public : BluetoothClassOfDevice ClassOfDevice { get; }public BluetoothClassOfDevice ClassOfDevice { get; }Public ReadOnly Property ClassOfDevice As BluetoothClassOfDevice// You can use this property in JavaScript.
Value
BluetoothClassOfDevice BluetoothClassOfDevice BluetoothClassOfDevice BluetoothClassOfDevice

The Bluetooth Class Of Device information of the device.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
bluetooth

ConnectionStatus ConnectionStatus ConnectionStatus ConnectionStatus

Gets the connection status of the device.

public : BluetoothConnectionStatus ConnectionStatus { get; }public BluetoothConnectionStatus ConnectionStatus { get; }Public ReadOnly Property ConnectionStatus As BluetoothConnectionStatus// You can use this property in JavaScript.
Value
BluetoothConnectionStatus BluetoothConnectionStatus BluetoothConnectionStatus BluetoothConnectionStatus

One of the BluetoothConnectionStatus enumeration values that specifies the connection status of the device.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
bluetooth

DeviceAccessInformation DeviceAccessInformation DeviceAccessInformation DeviceAccessInformation

The current DeviceAccessInformation object for the device. Used to check and monitor access changes to the device.

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

The current DeviceAccessInformation object for the device.

Additional features and requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)
Capabilities
bluetooth

DeviceId DeviceId DeviceId DeviceId

Gets the device ID that came from the Windows.Devices.Enumeration.DeviceInformation.Id

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

The ID of the device.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
bluetooth

DeviceInformation DeviceInformation DeviceInformation DeviceInformation

Gets the DeviceInformation object for the Bluetooth device.

public : DeviceInformation DeviceInformation { get; }public DeviceInformation DeviceInformation { get; }Public ReadOnly Property DeviceInformation As DeviceInformation// You can use this property in JavaScript.
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10586.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v2)
Capabilities
bluetooth

HostName HostName HostName HostName

Gets the HostName of the device.

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

The HostName of the device.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
bluetooth

Name Name Name Name

Gets the Name of the device.

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

The name of the device.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
bluetooth

RfcommServices RfcommServices RfcommServices RfcommServices

Gets the read-only list of RFCOMM services supported by the device.

public : IVectorView<RfcommDeviceService> RfcommServices { get; }public IReadOnlyList<RfcommDeviceService> RfcommServices { get; }Public ReadOnly Property RfcommServices As IReadOnlyList<RfcommDeviceService>// You can use this property in JavaScript.
Value
IVectorView<RfcommDeviceService> IReadOnlyList<RfcommDeviceService> IReadOnlyList<RfcommDeviceService> IReadOnlyList<RfcommDeviceService>

The read-only list of RFCOMM services supported by the device.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
bluetooth

SdpRecords SdpRecords SdpRecords SdpRecords

Gets the read-only list of Service Discovery Protocol (SDP) records for the device.

public : IVectorView<IBuffer> SdpRecords { get; }public IReadOnlyList<IBuffer> SdpRecords { get; }Public ReadOnly Property SdpRecords As IReadOnlyList<IBuffer>// You can use this property in JavaScript.
Value
IVectorView<IBuffer> IReadOnlyList<IBuffer> IReadOnlyList<IBuffer> IReadOnlyList<IBuffer>

The read-only list of Service Discovery Protocol (SDP) records for the device.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
bluetooth

Methods

Close() Close() Close() Close()

Closes the Bluetooth device.

public : void Close()This member is not implemented in C#This member is not implemented in VB.Net// You can use this method in JavaScript.

Dispose() Dispose() Dispose() Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

This member is not implemented in C++void Dispose()Sub Disposevoid Dispose()

FromBluetoothAddressAsync(UInt64) FromBluetoothAddressAsync(UInt64) FromBluetoothAddressAsync(UInt64) FromBluetoothAddressAsync(UInt64)

Returns a BluetoothDevice object for the given BluetoothAddress.

public : static IAsyncOperation<BluetoothDevice> FromBluetoothAddressAsync(unsigned __int64 address)public static IAsyncOperation<BluetoothDevice> FromBluetoothAddressAsync(UInt64 address)Public Static Function FromBluetoothAddressAsync(address As UInt64) As IAsyncOperation( Of BluetoothDevice )// You can use this method in JavaScript.
Parameters
address
unsigned __int64 UInt64 UInt64 UInt64

The address of the Bluetooth device.

Returns

After the asynchronous operation completes, returns the BluetoothDevice object with the given BluetoothAddress or null if the address does not resolve to a valid device.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
bluetooth

FromHostNameAsync(HostName) FromHostNameAsync(HostName) FromHostNameAsync(HostName) FromHostNameAsync(HostName)

Returns a BluetoothDevice object identified by the given HostName.

public : static IAsyncOperation<BluetoothDevice> FromHostNameAsync(HostName hostName)public static IAsyncOperation<BluetoothDevice> FromHostNameAsync(HostName hostName)Public Static Function FromHostNameAsync(hostName As HostName) As IAsyncOperation( Of BluetoothDevice )// You can use this method in JavaScript.
Parameters
hostName
HostName HostName HostName HostName

The HostName that identifies the BluetoothDevice instance.

Returns
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
bluetooth

FromIdAsync(String) FromIdAsync(String) FromIdAsync(String) FromIdAsync(String)

Returns a BluetoothDevice object identified by the given DeviceId.

public : static IAsyncOperation<BluetoothDevice> FromIdAsync(PlatForm::String deviceId)public static IAsyncOperation<BluetoothDevice> FromIdAsync(String deviceId)Public Static Function FromIdAsync(deviceId As String) As IAsyncOperation( Of BluetoothDevice )// You can use this method in JavaScript.
Parameters
deviceId
PlatForm::String String String String

The DeviceId value that identifies the BluetoothDevice instance.

Returns
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
bluetooth

GetDeviceSelector() GetDeviceSelector() GetDeviceSelector() GetDeviceSelector()

Gets an Advanced Query Syntax (AQS) string for identifying instances of this device. This string is passed to the FindAllAsync or CreateWatcher method.

public : static PlatForm::String GetDeviceSelector()public static string GetDeviceSelector()Public Static Function GetDeviceSelector() As string// You can use this method in JavaScript.
Returns
PlatForm::String string string string

The device selector for this device.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
bluetooth

GetDeviceSelectorFromBluetoothAddress(UInt64) GetDeviceSelectorFromBluetoothAddress(UInt64) GetDeviceSelectorFromBluetoothAddress(UInt64) GetDeviceSelectorFromBluetoothAddress(UInt64)

Creates an Advanced Query Syntax (AQS) filter string from a 64-bit address that represents a Bluetooth device. The AQS string is passed into the CreateWatcher method to return a collection of DeviceInformation objects.

public : static PlatForm::String GetDeviceSelectorFromBluetoothAddress(unsigned __int64 bluetoothAddress)public static string GetDeviceSelectorFromBluetoothAddress(UInt64 bluetoothAddress)Public Static Function GetDeviceSelectorFromBluetoothAddress(bluetoothAddress As UInt64) As string// You can use this method in JavaScript.
Parameters
bluetoothAddress
unsigned __int64 UInt64 UInt64 UInt64

A 64-bit Bluetooth device address used for constructing the AQS string.

Returns
PlatForm::String string string string

An AQS string that can be passed as a parameter to the CreateWatcher method.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10586.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v2)
Capabilities
bluetooth

GetDeviceSelectorFromClassOfDevice(BluetoothClassOfDevice) GetDeviceSelectorFromClassOfDevice(BluetoothClassOfDevice) GetDeviceSelectorFromClassOfDevice(BluetoothClassOfDevice) GetDeviceSelectorFromClassOfDevice(BluetoothClassOfDevice)

Creates an Advanced Query Syntax (AQS) filter string from a BluetoothClassOfDevice object. The AQS string is passed into the CreateWatcher method to return a collection of DeviceInformation objects.

public : static PlatForm::String GetDeviceSelectorFromClassOfDevice(BluetoothClassOfDevice classOfDevice)public static string GetDeviceSelectorFromClassOfDevice(BluetoothClassOfDevice classOfDevice)Public Static Function GetDeviceSelectorFromClassOfDevice(classOfDevice As BluetoothClassOfDevice) As string// You can use this method in JavaScript.
Parameters
classOfDevice
BluetoothClassOfDevice BluetoothClassOfDevice BluetoothClassOfDevice BluetoothClassOfDevice

The class of device used for constructing the AQS string.

Returns
PlatForm::String string string string

An AQS string that can be passed as a parameter to the CreateWatcher method.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10586.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v2)
Capabilities
bluetooth

Remarks

Each section of the classOfDevice parameter is optional. However, if the minor class of device is set, then the major class of device must also be set. The following are behaviors related what is set.

  • If no major/minor class of device is set, all devices matching the supplied service capabilities will be returned.
  • If no minor class of device is set, all devices matching the major class of devices AND the supplied service capabilities will be returned.
  • If service capabilities are set, all devices that match at LEAST the supplied service capabilities AND the major/minor class of device will be returned.
  • If no service capabilities are set, all devices that match the major/minor class of device will be returned.
  • If no major/minor class of device is set AND no service capabilities are set, all devices will be returned. This AQS Filter string will request an inquiry to be issued.

GetDeviceSelectorFromConnectionStatus(BluetoothConnectionStatus) GetDeviceSelectorFromConnectionStatus(BluetoothConnectionStatus) GetDeviceSelectorFromConnectionStatus(BluetoothConnectionStatus) GetDeviceSelectorFromConnectionStatus(BluetoothConnectionStatus)

Creates an Advanced Query Syntax (AQS) filter string that contains a query for Bluetooth devices with the indicated BluetoothConnectionStatus. The AQS string is passed into the CreateWatcher method to return a collection of DeviceInformation objects with the indicated Bluetooth connection status.

public : static PlatForm::String GetDeviceSelectorFromConnectionStatus(BluetoothConnectionStatus connectionStatus)public static string GetDeviceSelectorFromConnectionStatus(BluetoothConnectionStatus connectionStatus)Public Static Function GetDeviceSelectorFromConnectionStatus(connectionStatus As BluetoothConnectionStatus) As string// You can use this method in JavaScript.
Parameters
connectionStatus
BluetoothConnectionStatus BluetoothConnectionStatus BluetoothConnectionStatus BluetoothConnectionStatus

The connection status used for constructing the AQS string.

Returns
PlatForm::String string string string

An AQS string that can be passed as a parameter to the CreateWatcher method.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10586.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v2)
Capabilities
bluetooth

GetDeviceSelectorFromDeviceName(String) GetDeviceSelectorFromDeviceName(String) GetDeviceSelectorFromDeviceName(String) GetDeviceSelectorFromDeviceName(String)

Creates an Advanced Query Syntax (AQS) filter string that contains a query for the Bluetooth device name. The AQS string is passed into the CreateWatcher method to return a collection of DeviceInformation objects containing the specified Bluetooth device name.

public : static PlatForm::String GetDeviceSelectorFromDeviceName(PlatForm::String deviceName)public static string GetDeviceSelectorFromDeviceName(String deviceName)Public Static Function GetDeviceSelectorFromDeviceName(deviceName As String) As string// You can use this method in JavaScript.
Parameters
deviceName
PlatForm::String String String String

The Bluetooth device name used for constructing the AQS string.

Returns
PlatForm::String string string string

An AQS string that is passed as a parameter to the CreateWatcher method.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10586.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v2)
Capabilities
bluetooth

GetDeviceSelectorFromPairingState(Boolean) GetDeviceSelectorFromPairingState(Boolean) GetDeviceSelectorFromPairingState(Boolean) GetDeviceSelectorFromPairingState(Boolean)

Creates an Advanced Query Syntax (AQS) filter string that contains a query for Bluetooth devices that are either paired or unpaired. The AQS string is passed into the CreateWatcher method to return a collection of DeviceInformation objects.

public : static PlatForm::String GetDeviceSelectorFromPairingState(bool pairingState)public static string GetDeviceSelectorFromPairingState(Boolean pairingState)Public Static Function GetDeviceSelectorFromPairingState(pairingState As Boolean) As string// You can use this method in JavaScript.
Parameters
pairingState
bool Boolean Boolean Boolean

The current pairing state for Bluetooth devices used for constructing the AQS string. Bluetooth devices can be either paired (true) or unpaired (false). The AQS Filter string will request scanning to be performed when the pairingState is false.

Returns
PlatForm::String string string string

An AQS string that can be passed as a parameter to the CreateWatcher method.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10586.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v2)
Capabilities
bluetooth

GetRfcommServicesAsync() GetRfcommServicesAsync() GetRfcommServicesAsync() GetRfcommServicesAsync()

Retrieves all Rfcomm Services on the remote Bluetooth Device.

public : IAsyncOperation<RfcommDeviceServicesResult> GetRfcommServicesAsync()public IAsyncOperation<RfcommDeviceServicesResult> GetRfcommServicesAsync()Public Function GetRfcommServicesAsync() As IAsyncOperation( Of RfcommDeviceServicesResult )// You can use this method in JavaScript.
Returns
Additional features and requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)
Capabilities
bluetooth
See Also

GetRfcommServicesAsync(BluetoothCacheMode) GetRfcommServicesAsync(BluetoothCacheMode) GetRfcommServicesAsync(BluetoothCacheMode) GetRfcommServicesAsync(BluetoothCacheMode)

Retrieves all cached Rfcomm Services on the remote Bluetooth Device.

public : IAsyncOperation<RfcommDeviceServicesResult> GetRfcommServicesAsync(BluetoothCacheMode cacheMode)public IAsyncOperation<RfcommDeviceServicesResult> GetRfcommServicesAsync(BluetoothCacheMode cacheMode)Public Function GetRfcommServicesAsync(cacheMode As BluetoothCacheMode) As IAsyncOperation( Of RfcommDeviceServicesResult )// You can use this method in JavaScript.
Parameters
Returns
Additional features and requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)
Capabilities
bluetooth
See Also

GetRfcommServicesForIdAsync(RfcommServiceId) GetRfcommServicesForIdAsync(RfcommServiceId) GetRfcommServicesForIdAsync(RfcommServiceId) GetRfcommServicesForIdAsync(RfcommServiceId)

Retrieves all Rfcomm Services on the Remote Bluetooth Device matching the specified RfcommServiceId.

public : IAsyncOperation<RfcommDeviceServicesResult> GetRfcommServicesForIdAsync(RfcommServiceId serviceId)public IAsyncOperation<RfcommDeviceServicesResult> GetRfcommServicesForIdAsync(RfcommServiceId serviceId)Public Function GetRfcommServicesForIdAsync(serviceId As RfcommServiceId) As IAsyncOperation( Of RfcommDeviceServicesResult )// You can use this method in JavaScript.
Parameters
Returns
Additional features and requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)
Capabilities
bluetooth
See Also

GetRfcommServicesForIdAsync(RfcommServiceId, BluetoothCacheMode) GetRfcommServicesForIdAsync(RfcommServiceId, BluetoothCacheMode) GetRfcommServicesForIdAsync(RfcommServiceId, BluetoothCacheMode) GetRfcommServicesForIdAsync(RfcommServiceId, BluetoothCacheMode)

Retrieves all cached Rfcomm Services on the Remote Bluetooth Device matching the specified RfcommServiceId.

public : IAsyncOperation<RfcommDeviceServicesResult> GetRfcommServicesForIdAsync(RfcommServiceId serviceId, BluetoothCacheMode cacheMode)public IAsyncOperation<RfcommDeviceServicesResult> GetRfcommServicesForIdAsync(RfcommServiceId serviceId, BluetoothCacheMode cacheMode)Public Function GetRfcommServicesForIdAsync(serviceId As RfcommServiceId, cacheMode As BluetoothCacheMode) As IAsyncOperation( Of RfcommDeviceServicesResult )// You can use this method in JavaScript.
Parameters
Returns
Additional features and requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)
Capabilities
bluetooth
See Also

RequestAccessAsync() RequestAccessAsync() RequestAccessAsync() RequestAccessAsync()

Used to request explicit access to the Bluetooth device. This invokes Device Consent and must be called on the UI thread.

public : IAsyncOperation<DeviceAccessStatus> RequestAccessAsync()public IAsyncOperation<DeviceAccessStatus> RequestAccessAsync()Public Function RequestAccessAsync() As IAsyncOperation( Of DeviceAccessStatus )// You can use this method in JavaScript.
Returns
Additional features and requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)
Capabilities
bluetooth

Events

ConnectionStatusChanged ConnectionStatusChanged ConnectionStatusChanged ConnectionStatusChanged

Occurs when the connection status of the device has changed.

public : event TypedEventHandler ConnectionStatusChanged<BluetoothDevice,  object>public event TypedEventHandler ConnectionStatusChanged<BluetoothDevice,  object>Public Event ConnectionStatusChanged<BluetoothDevice,  object>// You can use this event in JavaScript.
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
bluetooth

NameChanged NameChanged NameChanged NameChanged

Occurs when the name of the device has changed.

public : event TypedEventHandler NameChanged<BluetoothDevice,  object>public event TypedEventHandler NameChanged<BluetoothDevice,  object>Public Event NameChanged<BluetoothDevice,  object>// You can use this event in JavaScript.
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
bluetooth

SdpRecordsChanged SdpRecordsChanged SdpRecordsChanged SdpRecordsChanged

Occurs when the list SDP records for the device has changed.

public : event TypedEventHandler SdpRecordsChanged<BluetoothDevice,  object>public event TypedEventHandler SdpRecordsChanged<BluetoothDevice,  object>Public Event SdpRecordsChanged<BluetoothDevice,  object>// You can use this event in JavaScript.
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
bluetooth