A browser for the discovery and retrieval of Bonjour services available on the network.
Titanium.Network.createBonjourBrowser method to create a
If your application publishes Bonjour services itself, that service will be discovered
by the browser if necessary; be prepared to perform a check if you do not want to list
local services as available. Bonjour service browsing is an asynchronous operation,
meaning that you should be extremely careful when caching values from the
property returned by the
updatedServices event. In particular, if you maintain a
local copy of available services and a user tries to connect to one, you should be prepared
to handle failures gracefully; the next
updatedServices event should provide the new
services list, but you should not rely on it being delivered before user input. When
a window which uses Bonjour browsing is closed, if you do not want to continue searching,
you must call the stop() method.
Adds the specified callback as an event listener for the named event.
Fires a synthesized event to any registered listeners.
Gets the value of the domain property.
Gets the value of the isSearching property.
Gets the value of the serviceType property.
Removes the specified callback as an event listener for the named event.
Conduct a search for Bonjour services matching the type and domain specified during creation
Sets the value of the domain property.
Sets the value of the isSearching property.
Sets the value of the serviceType property.
Halt an ongoing search
The domain the browser is searching in
Whether or not the browser is currently searching
The type of the service the browser searches for
Fired when the discovered services list is updated