<!--
{
  "documentType" : "article",
  "framework" : "MediaPlayer",
  "identifier" : "/documentation/MediaPlayer/media-entity-property-keys",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Media entity property keys"
}
-->

# Media entity property keys

The property keys used to retrieve metadata for media entities.

## Discussion

You obtain metadata for a media entity by calling the [`value(forProperty:)`](/documentation/MediaPlayer/MPMediaEntity/value(forProperty:)) method with these property keys. You can also use some properties to build media property predicates, as described in [`MPMediaPropertyPredicate`](/documentation/MediaPlayer/MPMediaPropertyPredicate). These properties are filterable.

## Topics

### Constants

[`MPMediaEntityPropertyPersistentID`](/documentation/MediaPlayer/MPMediaEntityPropertyPersistentID)

The persistent identifier for a media entity.



---

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)