unregisterService method
- String service
inherited
Unregisters the node by nodeName as a provider of the specified service
service
is the fully qualified name of the service
serviceAPI
is the ROSRPC Service URI
Returns number of unregistrations (either 0 or 1). If this is zero it means that the caller was not registered as a service provider. The call still succeeds as the intended final state is reached.
Implementation
Future<void> unregisterService(
String service,
) async {
await _call('unregisterService',
[nodeName, service, NetworkUtils.formatServiceUri(tcpRosPort)]);
}