Instance Property

maximumAllowedDuration

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

Declaration

@property(nonatomic, readonly) NSTimeInterval maximumAllowedDuration;

Return Value

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

Discussion

This method throws an exception if isMaximumDurationRestricted is NO.

See Also

Checking the Duration Restriction

isMinimumDurationRestricted

A Boolean value that indicates whether samples of this type have a minimum time interval between the start and end dates.

minimumAllowedDuration

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

isMaximumDurationRestricted

A Boolean value that indicates whether samples of this type have a maximum time interval between the start and end dates.