<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "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/GenericContent",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Now Playing"
    ],
    "preciseIdentifier" : "s:10NowPlaying14GenericContentV"
  },
  "title" : "GenericContent"
}
-->

# GenericContent

Content representing generic or unspecified media.

```
struct GenericContent
```

## Overview

Use this type when the media doesn’t fit into other specific content types
such as [`MusicContent`](/documentation/NowPlaying/MusicContent), [`PodcastContent`](/documentation/NowPlaying/PodcastContent), [`MovieContent`](/documentation/NowPlaying/MovieContent), or [`TVShowContent`](/documentation/NowPlaying/TVShowContent).
This provides maximum flexibility for custom media types.

## Topics

### Initializers

[`init(id: String, title: String, subtitle: String?, type: MediaType, duration: MediaDuration?, artwork: Artwork?)`](/documentation/NowPlaying/GenericContent/init(id:title:subtitle:type:duration:artwork:))

Creates generic media content.

[`init(id: String, title: String, subtitle: String?, type: MediaType, duration: MediaDuration?, artwork: Artwork, animatedArtwork: AnimatedArtwork?)`](/documentation/NowPlaying/GenericContent/init(id:title:subtitle:type:duration:artwork:animatedArtwork:))

Creates generic media content with static and animated artwork.

### Instance Properties

[`let animatedArtwork: AnimatedArtwork?`](/documentation/NowPlaying/GenericContent/animatedArtwork)

Animated artwork for this content.

[`let artwork: Artwork?`](/documentation/NowPlaying/GenericContent/artwork)

Artwork for this content.

[`let duration: MediaDuration?`](/documentation/NowPlaying/GenericContent/duration)

The duration of this content.

[`let subtitle: String?`](/documentation/NowPlaying/GenericContent/subtitle)

An optional subtitle or secondary description.

[`let title: String`](/documentation/NowPlaying/GenericContent/title)

The title of the content.

[`let type: MediaType`](/documentation/NowPlaying/GenericContent/type)

The media type (audio or video).

## Relationships

### Conforms To

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

[`MediaContentRepresentable`](/documentation/NowPlaying/MediaContentRepresentable)

---

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)