ot::Srp::Server::Service::GetLeaseInfo() const method
Gets the LEASE and KEY-LEASE information of a given service.
Arguments
aLeaseInfo
A reference to a LeaseInfo instance. It contains the LEASE time, KEY-LEASE time, remaining LEASE time and the remaining KEY-LEASE time.