decision(at:tolerance:)
The closest decision to the given time within the given tolerance.
Declaration
final func decision(at time: CMTime, tolerance: CMTime) -> CNDecision?Parameters
- time:
The time of the decision.
- tolerance:
The tolerance time.
Return Value
A decision representing the closest decision to the given time within the given tolerance. Returns nil if there are none.