One Logo Pool Ball
AVKit · IOS API REFERENCE

AVPlaybackUserInterfaceContentMetadata.VideoProperties

struct · iOS 27.0+ · SDK 27.1

struct VideoProperties

Properties specific to video content. The presence of a `VideoProperties` instance indicates the content contains video. Use ``VideoProperties`` to provide the natural presentation size for video content.

Members (3)

init · iOS 27.0+

init

TypeScript
static init(presentationSize: { width: number; height: number }): AVPlaybackUserInterfaceContentMetadata_VideoProperties
Swift declaration
init(presentationSize: CGSize)

Creates a new video properties instance. - Parameter presentationSize: The natural pixel dimensions of the video content.

get · iOS 27.0+

presentationSize

TypeScript
get presentationSize(): { width: number; height: number }
Swift declaration
var presentationSize: CGSize

The natural pixel dimensions of the video content, used for aspect ratio calculations and layout.

set · iOS 27.0+

presentationSize

TypeScript
set presentationSize(value: { width: number; height: number })
Swift declaration
var presentationSize: CGSize

The natural pixel dimensions of the video content, used for aspect ratio calculations and layout.

Skipped declarations

No declarations were skipped in this snapshot.

All AVKit types →