Function

CMTimeRangeFromTimeToTime(start:end:)

Creates a valid CMTimeRange from the given start and end time.

Declaration

func CMTimeRangeFromTimeToTime(start: CMTime, end: CMTime) -> CMTimeRange

Parameters

start

CMTime structure representing start time for creating the range.

end

CMTime structure representing end time for creating the range.

Return Value

The resulting CMTimeRange.

See Also

Creating Time Ranges

func CMTimeRangeMake(start: CMTime, duration: CMTime) -> CMTimeRange

Creates a valid CMTimeRange with the given start time and duration.

func CMTimeRangeMakeFromDictionary(CFDictionary) -> CMTimeRange

Reconstitutes a CMTimeRange struct from a CFDictionary previously created by CMTimeRangeCopyAsDictionary(_:allocator:).