DnsSdDConfiguration constructor

DnsSdDConfiguration({
  1. String domainName = ".local",
  2. DiscoveryType discoveryType = DiscoveryType.thing,
  3. ProtocolType protocolType = ProtocolType.tcp,
})

Instantiates a new DnsSdDConfiguration, indicating the protocolType and discoveryType.

By default, .local (for multicast DNS, RFC 6762) will be used as the configuration's domainName. Other domain names are currently unsupported.

Implementation

DnsSdDConfiguration({
  this.domainName = ".local",
  super.discoveryType = DiscoveryType.thing,
  this.protocolType = ProtocolType.tcp,
});