Contents

init(id:title:duration:artwork:animatedArtwork:)

Creates movie content with static and animated artwork.

Declaration

init(id: String, title: String, duration: MediaDuration?, artwork: Artwork, animatedArtwork: AnimatedArtwork?)

Parameters

  • id:

    A unique identifier for this movie.

  • title:

    The movie’s display title.

  • duration:

    The total runtime, or nil when unknown.

  • artwork:

    Static poster artwork.

  • animatedArtwork:

    Animated artwork for the movie, or nil when unavailable.