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
| Field | Details |
|---|---|
| Purpose | Returns true when Windows reports a physical Bluetooth adapter. |
| Gives | bool return value |
| Needs | No input. |
#include "BluetoothManager.h"
bool bSuccess = UBluetoothManager::HasBluetoothAdapter();import unreal
has_adapter = unreal.BluetoothManager.has_bluetooth_adapter()Is Bluetooth Enabled
| Field | Details |
|---|---|
| Purpose | Returns true when a Bluetooth radio is available and enabled. |
| Gives | bool return value |
| Needs | No input. |
#include "BluetoothManager.h"
bool bSuccess = UBluetoothManager::IsBluetoothEnabled();import unreal
is_enabled = unreal.BluetoothManager.is_bluetooth_enabled()Get Paired Devices
| Field | Details |
|---|---|
| Purpose | Returns paired and remembered Bluetooth devices. |
| Gives | TArray<FBluetoothDeviceInfo> return value |
| Needs | No input. |
#include "BluetoothManager.h"
auto Values = UBluetoothManager::GetPairedDevices();import unreal
paired_devices = unreal.BluetoothManager.get_paired_devices()Is Bluetooth Device Connected
| Field | Details |
|---|---|
| Purpose | Returns true when a paired Bluetooth device address is currently connected. |
| Gives | bool return value |
| Needs | DeviceAddress. |
#include "BluetoothManager.h"
bool bSuccess = UBluetoothManager::IsBluetoothDeviceConnected(DeviceAddress);import unreal
is_connected = unreal.BluetoothManager.is_bluetooth_device_connected(device_address)Last updated on