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 isDurationRestricted is false.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software