Contents

init(mediaMode:title:subtitle:albumArtworkRepresentations:)

Creates a new metadata object.

Declaration

init(mediaMode: AVInterfaceMetadata.MediaMode, title: String? = nil, subtitle: String? = nil, albumArtworkRepresentations: [AVInterfaceMetadata.AlbumArtwork] = [])

Parameters

  • mediaMode:

    The mode describing whether this content is audio-only or includes video.

  • 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.