Values associated with discovered services, such as TXT records.
SDKs
- iOS 12.0+
- macOS 10.14+
- Mac Catalyst 13.0+
- tvOS 12.0+
- watchOS 6.0+
- Xcode 11.0+
Framework
- Network
Values associated with discovered services, such as TXT records.
SDKs
Framework
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.
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.