ot::NetworkData::Service::Manager::GetNextDnsSrpAnycastInfo() const method
Gets the next DNS/SRP info from the Thread Network Data "DNS/SRP Service Anycast 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.
aInfo
A reference to `DnsSrpAnycastInfo` 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.