Contents

init(videoProperties:title:subtitle:artworkRepresentations:)

Creates a new metadata object.

Declaration

init(videoProperties: AVPlaybackUserInterfaceContentMetadata.VideoProperties? = nil, title: String? = nil, subtitle: String? = nil, artworkRepresentations: [AVPlaybackUserInterfaceContentArtwork] = [])

Parameters

  • videoProperties:

    Properties describing the video content, or nil for content without video.

  • title:

    Primary title or name of the media content.

  • subtitle:

    Secondary descriptive text.

  • artworkRepresentations:

    Array of available artwork representations in various formats and sizes.