Type Alias

nw_browser_browse_results_changed_handler_t

A handler that delivers updates about discovered services.

Declaration

typedef void (^nw_browser_browse_results_changed_handler_t)(nw_browse_result_t old_result, nw_browse_result_t new_result, bool batch_complete);

Discussion

New results will be delivered as changes from previous results in batches. Your application should process changes once a batch is complete, and be ready to handle multiple updates.

See Also

Browsing for Services

nw_browser_create

Initializes a browser with a type of service to discover.

nw_browse_descriptor_t

A service description used to discover Bonjour services.

nw_browser_set_queue

Sets the queue on which all browser events will be delivered.

nw_browser_start

Starts browsing for services.

nw_browser_set_browse_results_changed_handler

Sets the handler to receive updates about discovered services.

nw_browse_result_t

A discovered service and metadata about the service.