Function

CMTimeRangeGetEnd(_:)

Returns a CMTime structure representing the end of a time range.

Declaration

func CMTimeRangeGetEnd(_ range: CMTimeRange) -> CMTime

Parameters

range

The CMTimeRange from which to find the end of time range.

Return Value

A CMTime structure representing the end of the specified time range.

Discussion

This function returns a CMTime structure that indicates the end of the time range specified by the range parameter. CMTimeRangeContainsTime(range, CMTimeRangeGetEnd(range)) is always false.