Class

AVDisplayCriteria

An object containing properties that define the display criteria for a media asset.

Declaration

class AVDisplayCriteria : NSObject

Overview

You don't create an instance of this class. Instead, you retrieve the display criteria for a media asset, such as its ideal frame rate, using the preferredDisplayCriteria property from an AVAsset.

Relationships

Inherits From

See Also

Inspecting an Asset

var duration: CMTime

The duration of the asset.

var providesPreciseDurationAndTiming: Bool

A Boolean value that indicates whether the asset provides precise timing.

var creationDate: AVMetadataItem?

A value that indicates the creation date of the asset.

var preferredRate: Float

The natural rate at which the asset is to be played.

var preferredTransform: CGAffineTransform

The preferred transform to apply to the visual content of the asset for presentation or processing.

var preferredVolume: Float

The preferred volume at which the audible media of the asset is to be played.

var preferredDisplayCriteria: AVDisplayCriteria

The display criteria that define the optimal TV display mode for the asset.