One Logo Pool Ball
AVKit · IOS API REFERENCE

AVPlaybackUserInterfaceContentMetadata

struct · iOS 27.0+ · SDK 27.1

struct AVPlaybackUserInterfaceContentMetadata

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.

Members (9)

init · iOS 27.0+

init

TypeScript
static init(videoProperties?: (AVPlaybackUserInterfaceContentMetadata_VideoProperties) | null, title?: (string) | null, subtitle?: (string) | null, artworkRepresentations?: Array<AVPlaybackUserInterfaceContentArtwork>): AVPlaybackUserInterfaceContentMetadata
Swift declaration
init(videoProperties: AVPlaybackUserInterfaceContentMetadata.VideoProperties? = nil, title: String? = nil, subtitle: String? = nil, artworkRepresentations: [AVPlaybackUserInterfaceContentArtwork] = [])

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.

Skipped declarations

No declarations were skipped in this snapshot.

All AVKit types →