Instance Property

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

var isMinimumDurationRestricted: Bool

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

var minimumAllowedDuration: TimeInterval

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

var isMaximumDurationRestricted: Bool

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