ot::NetworkData::Service::Manager::GetNextDnsSrpUnicastInfo() const method
Gets the next DNS/SRP info from the Thread Network Data "DNS/SRP Service Unicast Address" entries. To get the first entry @p aIterator should be cleared (e.g., a new instance of `Iterator` or calling `Clear()` method).
Arguments
aIterator
A reference to an iterator.
aType
The entry type, `kAddrInServiceData` or `kAddrInServerData`
aInfo
A reference to `DnsSrpUnicastInfo` to return the info.
Return value
kErrorNone Successfully got the next info. @p aInfo and @p aIterator are updated. kErrorNotFound No more matching entries in the Network Data.