A Swift-friendly structure representing media metadata.
This structure provides metadata information about media content including title, artwork, and content type.
Use this to provide rich information for playback interfaces and system integrations.
Creates a new metadata object.
- 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.
get · iOS 27.0+
videoProperties
TypeScript
get videoProperties(): (AVPlaybackUserInterfaceContentMetadata_VideoProperties) | null
Swift declaration
var videoProperties: AVPlaybackUserInterfaceContentMetadata.VideoProperties?
Properties describing the video content. `nil` if the content contains no video.
set · iOS 27.0+
videoProperties
TypeScript
set videoProperties(value: (AVPlaybackUserInterfaceContentMetadata_VideoProperties) | null)
Swift declaration
var videoProperties: AVPlaybackUserInterfaceContentMetadata.VideoProperties?
Properties describing the video content. `nil` if the content contains no video.
get · iOS 27.0+
artworkRepresentations
TypeScript
get artworkRepresentations(): Array<AVPlaybackUserInterfaceContentArtwork>
Swift declaration
var artworkRepresentations: [AVPlaybackUserInterfaceContentArtwork]
Array of available artwork representations in various formats and sizes.
Multiple representations allow the system to choose the most appropriate artwork for different
display contexts (thumbnails, full-screen, high-DPI displays).
Each representation specifies its dimensions, format, and URL for optimal loading and display performance.
set · iOS 27.0+
artworkRepresentations
TypeScript
set artworkRepresentations(value: Array<AVPlaybackUserInterfaceContentArtwork>)
Swift declaration
var artworkRepresentations: [AVPlaybackUserInterfaceContentArtwork]
Array of available artwork representations in various formats and sizes.
Multiple representations allow the system to choose the most appropriate artwork for different
display contexts (thumbnails, full-screen, high-DPI displays).
Each representation specifies its dimensions, format, and URL for optimal loading and display performance.
get · iOS 27.0+
title
TypeScript
get title(): (string) | null
Swift declaration
var title: String?
Primary title or name of the media content.
set · iOS 27.0+
title
TypeScript
set title(value: (string) | null)
Swift declaration
var title: String?
Primary title or name of the media content.
get · iOS 27.0+
subtitle
TypeScript
get subtitle(): (string) | null
Swift declaration
var subtitle: String?
Secondary descriptive text such as artist name or episode description.
set · iOS 27.0+
subtitle
TypeScript
set subtitle(value: (string) | null)
Swift declaration
var subtitle: String?
Secondary descriptive text such as artist name or episode description.