---
title: content
framework: nowplaying
role: symbol
role_heading: Instance Property
path: nowplaying/mediasessionrepresentable/content
---

# content

The content being played in this session.

## Declaration

```swift
@MainActor var content: (any MediaContentRepresentable)? { get }
```

## Mentioned in

Publishing media sessions

## Discussion

Discussion Use a content type like MusicContent, PodcastContent, MovieContent, TVShowContent, or GenericContent to describe the media being played. You can provide additional metadata using the content type’s trailing closure. The system displays content information on the device’s Lock Screen, in Control Center, and on connected accessories. Provide as much information as possible to ensure compatibility with a wide range of accessories and system interfaces.
