BluetoothAdapter BluetoothAdapter BluetoothAdapter BluetoothAdapter BluetoothAdapter Class

Definition

Represents a Bluetooth adapter.

public : sealed class BluetoothAdapter
struct winrt::Windows::Devices::Bluetooth::BluetoothAdapter
public sealed class BluetoothAdapter
Public NotInheritable Class BluetoothAdapter
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)
Capabilities
bluetooth

Remarks

Version history

Windows version SDK version Value added
1803 17134 AreClassicSecureConnectionsSupported
1803 17134 AreLowEnergySecureConnectionsSupported

Properties

AreClassicSecureConnectionsSupported AreClassicSecureConnectionsSupported AreClassicSecureConnectionsSupported AreClassicSecureConnectionsSupported AreClassicSecureConnectionsSupported

Gets or sets a value indicating whether Secure Connections are supported for classic paired Bluetooth devices.

AreLowEnergySecureConnectionsSupported AreLowEnergySecureConnectionsSupported AreLowEnergySecureConnectionsSupported AreLowEnergySecureConnectionsSupported AreLowEnergySecureConnectionsSupported

Gets or sets a value indicating whether Secure Connections are supported for paired Bluetooth LE devices.

BluetoothAddress BluetoothAddress BluetoothAddress BluetoothAddress BluetoothAddress

Gets the device address.

DeviceId DeviceId DeviceId DeviceId DeviceId

Gets the device ID.

IsAdvertisementOffloadSupported IsAdvertisementOffloadSupported IsAdvertisementOffloadSupported IsAdvertisementOffloadSupported IsAdvertisementOffloadSupported

Gets a boolean indicating if the adapter supports advertisement offload.

IsCentralRoleSupported IsCentralRoleSupported IsCentralRoleSupported IsCentralRoleSupported IsCentralRoleSupported

Gets a boolean indicating if the adapater supports LowEnergy central role.

IsClassicSupported IsClassicSupported IsClassicSupported IsClassicSupported IsClassicSupported

Gets a boolean indicating if the adapter supports the Bluetooth Classic transport type.

IsLowEnergySupported IsLowEnergySupported IsLowEnergySupported IsLowEnergySupported IsLowEnergySupported

Gets a boolean indicating if the adapater supports LowEnergy Bluetooth Transport type.

IsPeripheralRoleSupported IsPeripheralRoleSupported IsPeripheralRoleSupported IsPeripheralRoleSupported IsPeripheralRoleSupported

Gets a boolean indicating if the adapater supports LowEnergy peripheral role.

Methods

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

Gets a BluetoothAdapter object identified by the given DeviceId.

GetDefaultAsync() GetDefaultAsync() GetDefaultAsync() GetDefaultAsync() GetDefaultAsync()

Gets the default BluetoothAdapter.

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

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

GetRadioAsync() GetRadioAsync() GetRadioAsync() GetRadioAsync() GetRadioAsync()

Gets the radio represented by this Bluetooth adapter.