<!--
{
  "availability" : [
    "iOS: 7.1.0 -",
    "iPadOS: 7.1.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.12.2 -",
    "tvOS: 7.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MediaPlayer",
  "identifier" : "/documentation/MediaPlayer/MPContentItem",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Media Player"
    ],
    "preciseIdentifier" : "c:objc(cs)MPContentItem"
  },
  "title" : "MPContentItem"
}
-->

# MPContentItem

An object that contains the information for a displayed media item.

```
class MPContentItem
```

## Overview

This object represents a media item such as a song, movie, radio station, or podcast episode. The media player displays the information stored in it.

Update this object by changing its properties during runtime or by creating a new `MPContentItem` object with new property values, but with the same identifier as the object to change. Use the [`beginUpdates()`](/documentation/MediaPlayer/MPPlayableContentManager/beginUpdates()) and [`endUpdates()`](/documentation/MediaPlayer/MPPlayableContentManager/endUpdates()) methods found in [`MPPlayableContentManager`](/documentation/MediaPlayer/MPPlayableContentManager) to update several `MPContentItem` objects at once.

> Important:
> This class is only used for CarPlay. Using it requires a special entitlement issued by Apple. Apps without the correct entitlement won’t appear on the CarPlay home screen. See <http://www.apple.com/ios/carplay/> for more information.

## Topics

### Setting a unique identifier

[`-  initWithIdentifier:`](/documentation/MediaPlayer/MPContentItem/init(identifier:))

Sets the identifier for a media item.

### Retrieving information about a media item

[`artwork`](/documentation/MediaPlayer/MPContentItem/artwork)

A single image that’s associated with the media item.

[`container`](/documentation/MediaPlayer/MPContentItem/isContainer)

A Boolean value that indicates whether a media item is container of other items.

[`explicitContent`](/documentation/MediaPlayer/MPContentItem/isExplicitContent)

A Boolean value that indicates whether the media item contains explicit content.

[`identifier`](/documentation/MediaPlayer/MPContentItem/identifier)

The unique identifier for the media item.

[`playable`](/documentation/MediaPlayer/MPContentItem/isPlayable)

A Boolean value that indicates whether a media item is able to be played.

[`streamingContent`](/documentation/MediaPlayer/MPContentItem/isStreamingContent)

A Boolean value that indicates whether the content item is streaming content.

[`playbackProgress`](/documentation/MediaPlayer/MPContentItem/playbackProgress)

The amount of content played for the media item.

[`subtitle`](/documentation/MediaPlayer/MPContentItem/subtitle)

A secondary designator for the media item.

[`title`](/documentation/MediaPlayer/MPContentItem/title)

The public name of the media item.

## Relationships

### Conforms To

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`Hashable`](/documentation/Swift/Hashable)

[`CVarArg`](/documentation/Swift/CVarArg)

[`Equatable`](/documentation/Swift/Equatable)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

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)