Contents

duration

The duration of the media asset, if available.

Declaration

var duration: CMTime { get set }

Discussion

This value is invalid if the duration isn’t available.

See Also

Inspecting file properties