Contents

init(isAudioOnly:presentationSize:title:subtitle:albumArtworkRepresentations:)

Creates a new metadata object.

Declaration

init(isAudioOnly: Bool = false, presentationSize: CGSize = .zero, title: String? = nil, subtitle: String? = nil, albumArtworkRepresentations: [AVInterfaceAlbumArtwork] = [])

Parameters

  • isAudioOnly:

    Whether the content is audio-only (default: false).

  • presentationSize:

    The natural pixel dimensions of the video content (default: .zero).

  • title:

    Primary title or name of the media content.

  • subtitle:

    Secondary descriptive text.

  • albumArtworkRepresentations:

    Array of available album artwork representations in various formats and sizes.