init(id:episodeTitle:showName:releaseDate:type:duration:artwork:animatedArtwork:)
Creates podcast episode content with static and animated artwork.
Declaration
init(id: String, episodeTitle: String, showName: String, releaseDate: Date?, type: MediaType, duration: MediaDuration?, artwork: Artwork, animatedArtwork: AnimatedArtwork?)Parameters
- id:
A unique identifier for this episode.
- episodeTitle:
The episode’s display title.
- showName:
The name of the podcast show.
- releaseDate:
The date this episode was released, or
nilwhen unknown. - type:
The media type.
- duration:
The total duration of the episode, or
nilwhen unknown. - artwork:
Static artwork for the episode.
- animatedArtwork:
Animated artwork for the episode, or
nilwhen unavailable.