create Net Service
Create a new DNS-SD to publish on the network. Make sure to call this on the main thread.
Return
the platform instance of the service to register or unregister
Parameters
the service type (e.g. _example._tcp)
the name of the service to publish
the port of the provided service
the priority of the created DNS entry
the weight of the created DNS entry relative to priority
the address to advertise (if null, let the platform decide)
optional attributes to publish
See also
Create a new DNS-SD to publish on the network. Make sure to call this on the main thread.
Return
the platform instance of the service to register or unregister
Parameters
the service type (e.g. _example._tcp)
the name of the service to publish
the port of the provided service
the priority of the created DNS entry
the weight of the created DNS entry relative to priority
the address to advertise (if null, let the platform decide)
optional attributes to publish
See also
Create a new DNS-SD to publish on the network. Make sure to call this on the main thread.
Return
the platform instance of the service to register or unregister
Parameters
the service type (e.g. _example._tcp)
the name of the service to publish
the port of the provided service
the priority of the created DNS entry
the weight of the created DNS entry relative to priority
the address to advertise (if null, let the platform decide)
optional attributes to publish
See also
Create a new DNS-SD to publish on the network. Make sure to call this on the main thread.
Return
the platform instance of the service to register or unregister
Parameters
the service type (e.g. _example._tcp)
the name of the service to publish
the port of the provided service
the priority of the created DNS entry
the weight of the created DNS entry relative to priority
the address to advertise (if null, let the platform decide)
optional attributes to publish