Contents

init(value:timescale:flags:epoch:)

Creates a time with a value, timescale, flags, and epoch.

Declaration

init(value: CMTimeValue, timescale: CMTimeScale, flags: CMTimeFlags, epoch: CMTimeEpoch)

Parameters

  • value:

    An integer time value.

  • timescale:

    An integer timescale value.

  • flags:

    Optional flags to specify for the time.

  • epoch:

    An epoch for the time, which is typically 0.

See Also

Creating a Time