Instance Property

duration

The duration of the media associated with this metadata object.

Declaration

var duration: CMTime { get }

Discussion

For metadata originating from a sample buffer (CMSampleBuffer), the duration reflects the duration of the sample buffer. If there is no valid duration value associated with the metadata, this property should contain invalid.

See Also

Getting the Media-Related Attributes

var time: CMTime

The media time value associated with the metadata object.

var bounds: CGRect

The bounding rectangle associated with the metadata.