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.

Python examples use Unreal's reflected API names through the unreal module. Async, delegate-driven, and unsupported wildcard-style nodes are intentionally left as C++-only examples.

Has Bluetooth Adapter

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

bool bSuccess = UBluetoothManager::HasBluetoothAdapter();
Python Example
import unreal

has_adapter = unreal.BluetoothManager.has_bluetooth_adapter()

Is Bluetooth Enabled

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

bool bSuccess = UBluetoothManager::IsBluetoothEnabled();
Python Example
import unreal

is_enabled = unreal.BluetoothManager.is_bluetooth_enabled()

Get Paired Devices

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

auto Values = UBluetoothManager::GetPairedDevices();
Python Example
import unreal

paired_devices = unreal.BluetoothManager.get_paired_devices()

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"

bool bSuccess = UBluetoothManager::IsBluetoothDeviceConnected(DeviceAddress);
Python Example
import unreal

is_connected = unreal.BluetoothManager.is_bluetooth_device_connected(device_address)

Last updated on

On this page