Contents

detection(atOrBefore:)

Returns the array of detections in the detection track before a given time.

Declaration

func detection(atOrBefore time: CMTime) -> CNDetection?

Parameters

  • time:

    The time.

Return Value

A number representing a properly time-stamped detection. The return value is only appropriate for discrete detection tracks.