Contents

CMTimeRangeGetIntersection(_:otherRange:)

Returns a new time range with the time elements that are common between the input.

Declaration

func CMTimeRangeGetIntersection(_ range: CMTimeRange, otherRange: CMTimeRange) -> CMTimeRange

Parameters

  • range:

    The first time range to intersect.

  • otherRange:

    The second time range to intersect.

Return Value

A time range that represents the largest intersection of the input.

See Also

Inspecting Time Ranges