Skip to content

QuantumGate::BTHAddress::BTHAddress

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

Constructs a QuantumGate::BTHAddress object.

Signature

constexpr BTHAddress() noexcept;
explicit BTHAddress(const WChar* addr_str);
explicit BTHAddress(const String& addr_str);
explicit BTHAddress(const sockaddr_storage* saddr);
explicit BTHAddress(const sockaddr* saddr);
constexpr BTHAddress(const BinaryBTHAddress& bin_addr);

Parameters

Name Description
addr_str The Bluetooth address in string format.
saddr A pointer to a sockaddr_storage or sockaddr object.
bin_addr A reference to a QuantumGate::BinaryBTHAddress object.

Exceptions

May throw a std::invalid_argument exception when any of the parameters are invalid.

Clone this wiki locally