---
title: CNDetectionID
framework: cinematic
role: symbol
role_heading: Structure
path: cinematic/cndetectionid
---

# CNDetectionID

A structure representing a unique identifier assigned by the Cinematic script to all detections of the same subject and detection type across time.

## Declaration

```swift
struct CNDetectionID
```

## Topics

### Initializers

- [init(_:)](cinematic/cndetectionid/init(_:).md)
- [init(rawValue:)](cinematic/cndetectionid/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Data Types

- [CNDetectionGroupID](cinematic/cndetectiongroupid.md)
