Skip to content

QuantumGate::Local::Environment::GetBluetoothDevices

Karel Donk edited this page Dec 26, 2021 · 1 revision

Gets details about Bluetooth devices that are connected to the system, or are nearby and discoverable.

Signature

Result<Vector<BluetoothDevice>> GetBluetoothDevices() const noexcept;

Return values

Returns a QuantumGate::Result object equal to one of the following QuantumGate::ResultCodes:

Value Description
QuantumGate::ResultCode::Succeeded The operation succeeded.
QuantumGate::ResultCode::Failed The operation failed.

Upon successful completion the result also contains a QuantumGate::Vector containing QuantumGate::Local::Environment::BluetoothDevice objects with details about the Bluetooth devices.

Clone this wiki locally