<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iOSAppExtension: -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "NowPlaying",
  "identifier" : "/documentation/NowPlaying/MediaContentRepresentable/appEntityIdentifiers",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Now Playing",
      "AppIntents",
      "NowPlaying"
    ],
    "preciseIdentifier" : "s:10NowPlaying25MediaContentRepresentableP01_aB11_AppIntentsE20appEntityIdentifiersSay0fG00I10IdentifierVGvp"
  },
  "title" : "appEntityIdentifiers"
}
-->

# appEntityIdentifiers

The entities that represent this content, making them available to Siri and Apple Intelligence.

```
var appEntityIdentifiers: [EntityIdentifier] { get set }
```

## Discussion

Associate one or more `EntityIdentifier` values with the content so the system can connect
the currently playing media to your app’s `AppEntity` types.

```swift
var content: any MediaContentRepresentable {
    var musicContent = MusicContent(id: song.id, songTitle: song.title, artistName: song.artist)
    musicContent.appEntityIdentifiers = [EntityIdentifier(for: SongEntity.self, identifier: song.id)]
    return musicContent
}
```

---

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)