Instance Property

epoch

The epoch of the CMTime.

Declaration

CMTimeEpoch epoch;

Discussion

You use the epoch to differentiate between equal timestamps that are actually different because of looping, multi-item sequencing, and so on.

The epoch is used during comparison: greater epochs happen after lesser ones. Addition or subtraction is only possible within a single epoch, however, since the epoch length may be unknown or variable.

See Also

Fields

flags

A bitfield representing the flags set for the CMTime.

timescale

The timescale of the CMTime.

value

The value of the CMTime.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software