ot::Dns::Client::BrowseResponse::GetServiceName() const method
Gets the service name associated with a DNS browse response. MUST only be used from `BrowseCallback`.
Arguments
aNameBuffer
A buffer to char array to output the host name.
aNameBufferSize
The size of @p aNameBuffer.
Return value
kErrorNone The host name was read successfully. kErrorNoBufs The name does not fit in @p aNameBuffer.