ot::NetworkData::Publisher::SetDnsSrpServiceCallback() method
Sets a callback for notifying when a published "DNS/SRP Service" is actually added to or removed from the Thread Network Data. A subsequent call to this method replaces any previously set callback function.
Arguments
aCallback
The callback function pointer (can be NULL if not needed).
aContext
A pointer to application-specific context (used when @p aCallback is invoked).