<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SensitiveContentAnalysis",
  "identifier" : "/documentation/SensitiveContentAnalysis/SCSensitivityAnalysis/ContentType",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Sensitive Content Analysis",
      "SensitiveContentAnalysis"
    ],
    "preciseIdentifier" : "c:@T@SCSensitiveContentType"
  },
  "title" : "SCSensitivityAnalysis.ContentType"
}
-->

# SCSensitivityAnalysis.ContentType

A type that identifies a category of sensitive content.

```
struct ContentType
```

## Discussion

The Sensitive Content Analysis framework uses content type values to indicate the specific nature of sensitive material detected in images or videos. Check the [`detectedTypes`](/documentation/SensitiveContentAnalysis/SCSensitivityAnalysis/detectedTypes) property to retrieve the set of content types the framework detects in analyzed media. This information enables your app to provide tailored responses based on the specific type of sensitive content present.

## Topics

### Identifying content categories

[`static let sexuallyExplicit: SCSensitivityAnalysis.ContentType`](/documentation/SensitiveContentAnalysis/SCSensitivityAnalysis/ContentType/sexuallyExplicit)

A content type that indicates the presence of nudity or sexually explicit material.

[`static let goreOrViolence: SCSensitivityAnalysis.ContentType`](/documentation/SensitiveContentAnalysis/SCSensitivityAnalysis/ContentType/goreOrViolence)

A content type that indicates the presence of graphic violence or gore.

### Creating a content type

[`init(rawValue: String)`](/documentation/SensitiveContentAnalysis/SCSensitivityAnalysis/ContentType/init(rawValue:))

Creates a content type from a raw string value.

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Equatable`](/documentation/Swift/Equatable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Hashable`](/documentation/Swift/Hashable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)