ot::SettingsDriver::Get() const method
Fetches the value identified by @p aKey at a given @p aIndex.
Arguments
aKey
The key associated with the requested value.
aIndex
The index of the specific item to get.
aValue
A pointer to where the value of the setting should be written. May be `nullptr` if just testing for the presence or length of a key.
aValueLength
A pointer to the length of the value. When called, this should point to an integer containing the maximum bytes that can be written to @p aValue. At return, the actual length of the setting is written. May be `nullptr` if performing a presence check.
Return value
kErrorNone The value was fetched successfully. kErrorNotFound The key was not found.
ot::SettingsDriver::Get() const is called by 1 function and calls 3 functions:
![]()
ot::SettingsDriver::Get() const
ot::SettingsDriver::Get() const:
![]()
ot::SettingsDriver::Get() const