Values associated with discovered services, such as TXT records.


enum NWBrowser.Result.Metadata & Equatable


Metadata Types

case bonjour(NWTXTRecord)

A TXT record associated with a discovered service.

case none

A value indicating that no associated data was discovered on a service.

Instance Properties


See Also

Evaluating Browser Results

let endpoint: NWEndpoint

The discovered service endpoint.

let interfaces: [NWInterface]

The list of interfaces on which the service was discovered.

let metadata: NWBrowser.Result.Metadata

The metadata associated with the discovered service, such as the TXT record.

struct NWTXTRecord

A dictionary representing a TXT record in a DNS packet.


Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software