ot::Srp::Client::ClearService() method
Clears a service, immediately removing it from the client service list. Unlike `RemoveService()` which sends an update message to the server to remove the service, this method clears the service from the client's service list without any interaction with the server. On a successful call to this method, the `Callback` will NOT be called and the @p aService entry can be reclaimed and re-used by the caller immediately.
Arguments
aService
A service to delete from the list.
Return value
kErrorNone The @p aService is cleared successfully. It can be reclaimed and re-used immediately. kErrorNotFound The service could not be found in the list.
ot::Srp::Client::ClearService() calls 3 functions:
![]()
ot::Srp::Client::ClearService()
ot::Srp::Client::ClearService() reads 1 variable:
![]()
ot::Srp::Client::ClearService()