Instance Property


The duration of the media associated with this metadata object.


var duration: CMTime { get }


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.