ot::Srp::Client::SetCallback() method
Sets the callback used to notify caller of events/changes. The SRP client allows a single callback to be registered. So consecutive calls to this method will overwrite any previously set callback functions.
Arguments
aCallback
The callback to notify of events and changes. Can be `nullptr` if not needed.
aContext
An arbitrary context used with @p aCallback.