---
title: MPContentItem
framework: mediaplayer
role: symbol
role_heading: Class
path: mediaplayer/mpcontentitem
---

# MPContentItem

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

## Declaration

```swift
class MPContentItem
```

## Overview

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() and endUpdates() methods found in 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

- [init(identifier:)](mediaplayer/mpcontentitem/init(identifier:).md)

### Retrieving information about a media item

- [artwork](mediaplayer/mpcontentitem/artwork.md)
- [isContainer](mediaplayer/mpcontentitem/iscontainer.md)
- [isExplicitContent](mediaplayer/mpcontentitem/isexplicitcontent.md)
- [identifier](mediaplayer/mpcontentitem/identifier.md)
- [isPlayable](mediaplayer/mpcontentitem/isplayable.md)
- [isStreamingContent](mediaplayer/mpcontentitem/isstreamingcontent.md)
- [playbackProgress](mediaplayer/mpcontentitem/playbackprogress.md)
- [subtitle](mediaplayer/mpcontentitem/subtitle.md)
- [title](mediaplayer/mpcontentitem/title.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
