<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MediaDevice",
  "identifier" : "/documentation/MediaDevice/MediaOutputDevice/txtRecords",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Media Device"
    ],
    "preciseIdentifier" : "s:11MediaDevice0a6OutputB0V10txtRecordsSay7Network11NWTXTRecordVGvp"
  },
  "title" : "txtRecords"
}
-->

# txtRecords

TXT records associated with the device discovered via network protocols.

```
let txtRecords: [NWTXTRecord]
```

## Discussion

Contains key-value pairs of metadata about the device that were advertised
during network discovery (for example, via Bonjour/mDNS). This information can include
device-specific attributes, service capabilities, version information, or other
properties that help identify and configure the connection.

> SeeAlso: ``NWTXTRecord`` for details on working with TXT record data

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)