Contents

maximumAllowedDuration

The maximum duration if the sample type has a restricted duration.

Declaration

var maximumAllowedDuration: TimeInterval { get }

Return Value

The maximum time interval between the sample’s startDate and endDate properties.

Discussion

This method throws an exception if isMaximumDurationRestricted is false.

See Also

Checking the Duration Restriction