<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "MediaPlayer",
  "identifier" : "/documentation/MediaPlayer/MPMediaPlaylistPropertyPersistentID",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Media Player"
    ],
    "preciseIdentifier" : "c:@MPMediaPlaylistPropertyPersistentID"
  },
  "title" : "MPMediaPlaylistPropertyPersistentID"
}
-->

# MPMediaPlaylistPropertyPersistentID

The persistent identifier for the playlist.

```
let MPMediaPlaylistPropertyPersistentID: String
```

## Discussion

Value is an <doc://com.apple.documentation/documentation/Foundation/NSNumber> object containing a `UInt64_t` (unsigned long long). Can be used to build a media property predicate as described in [`MPMediaQuery`](/documentation/MediaPlayer/MPMediaQuery).

---

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)