Windows Native Toolkit

Bluetooth Library

Windows Bluetooth adapter, radio, paired-device, and connected-device nodes.

Use this library to inspect classic Windows Bluetooth state and paired devices.

Has Bluetooth Adapter

FieldDetails
PurposeReturns true when Windows reports a physical Bluetooth adapter.
Givesbool return value
NeedsNo input.
C++ Example
#include "BluetoothManager.h"

void AMyActor::ExampleUsage()
{
    
      bool bSuccess = UBluetoothManager::HasBluetoothAdapter();
}

Is Bluetooth Enabled

FieldDetails
PurposeReturns true when a Bluetooth radio is available and enabled.
Givesbool return value
NeedsNo input.
C++ Example
#include "BluetoothManager.h"

void AMyActor::ExampleUsage()
{
    
      bool bSuccess = UBluetoothManager::IsBluetoothEnabled();
}

Get Paired Devices

FieldDetails
PurposeReturns paired and remembered Bluetooth devices.
GivesTArray<FBluetoothDeviceInfo> return value
NeedsNo input.
C++ Example
#include "BluetoothManager.h"

void AMyActor::ExampleUsage()
{
    
      auto Values = UBluetoothManager::GetPairedDevices();
}

Is Bluetooth Device Connected

FieldDetails
PurposeReturns true when a paired Bluetooth device address is currently connected.
Givesbool return value
NeedsDeviceAddress.
C++ Example
#include "BluetoothManager.h"

void AMyActor::ExampleUsage()
{
    
      bool bSuccess = UBluetoothManager::IsBluetoothDeviceConnected(DeviceAddress);
}

Last updated on

On this page