Instance Property


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


var maximumAllowedDuration: TimeInterval { get }

Return Value

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


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