-
Notifications
You must be signed in to change notification settings - Fork 23
QuantumGate::BTHAddress::TryParse
Karel Donk edited this page Dec 25, 2021
·
1 revision
Attempts to parse a Bluetooth address from a string.
static bool TryParse(const WChar* addr_str, BTHAddress& addr) noexcept;
static bool TryParse(const String& addr_str, BTHAddress& addr) noexcept;
static bool TryParse(const BinaryBTHAddress& bin_addr, BTHAddress& addr) noexcept;
Name | Description |
---|---|
addr_str |
The Bluetooth address in string format. |
bin_addr |
A QuantumGate::BinaryBTHAddress containing the Bluetooth address. |
addr |
The QuantumGate::BTHAddress object to store the parsed value in. |
Returns true
if the operation succeeded, otherwise false
. Upon successful completion the parsed address will be stored in the addr
parameter.