Contents

addDetectionTrack(_:)

Adds a user-created detection track.

Declaration

final func addDetectionTrack(_ detectionTrack: CNDetectionTrack) -> CNDetectionID

Parameters

  • detectionTrack:

    The detection track to add.

Return Value

The unique detection ID assigned to the added track, which can be used for later lookup or decision creation.