<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iOSAppExtension: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "NowPlaying",
  "identifier" : "/documentation/NowPlaying/MediaDevice/name",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Now Playing"
    ],
    "preciseIdentifier" : "s:10NowPlaying11MediaDeviceV4nameSSvp"
  },
  "title" : "name"
}
-->

# name

The human-readable name of the device.

```
let name: String
```

## Discussion

The system displays this name in the Now Playing interface.
Use a descriptive name that helps people identify the device.

The name must be non-empty and at most 250 characters. It must start with an alphanumeric
character, end with an alphanumeric character or `.`, and otherwise contain only
alphanumerics, whitespace, and the punctuation `' - , & # .`. Symbols outside this set —
including emoji and SF Symbols — are not permitted.

---

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)