init(id:episodeTitle:showName:duration:artwork:)
Creates TV show episode content.
Declaration
init(id: String, episodeTitle: String, showName: String, duration: MediaDuration?, artwork: Artwork?)Parameters
- id:
A unique identifier for this episode.
- episodeTitle:
The title of the individual episode.
- showName:
The name of the series.
- duration:
The total duration of the episode, or
nilwhen unknown. - artwork:
Artwork for the episode, or
nilwhen unavailable.