---
title: SCSensitivityAnalyzer.VideoAnalysisHandler
framework: sensitivecontentanalysis
role: symbol
role_heading: Class
path: sensitivecontentanalysis/scsensitivityanalyzer/videoanalysishandler
---

# SCSensitivityAnalyzer.VideoAnalysisHandler

An object that checks if a video contains sensitive content and provides status updates.

## Declaration

```swift
final class VideoAnalysisHandler
```

## Overview

Overview Checking video for sensitive content can take longer than checking images. This class enables an app to stay informed on the framework’s progress while it checks a video for sensitive content. The SCSensitivityAnalyzer method videoAnalysis(forFileAt:) returns an instance of this class. To analyze a video file for sensitive content, pass a video URL into the videoAnalysis(forFileAt:) function. While waiting on the hasSensitiveContent() method, check progress for the completion status: let handler = analyzer.videoAnalysis(forFileAt: videoFileUrl)

let progress = handler.progress // Do something with the `progress` property, such as dispatch a UI update thread.

// Wait here until the video check for sensitive content completes. let response = try await handler.hasSensitiveContent()

## Topics

### Checking progress

- [progress](sensitivecontentanalysis/scsensitivityanalyzer/videoanalysishandler/progress.md)

### Determining sensitivity

- [hasSensitiveContent()](sensitivecontentanalysis/scsensitivityanalyzer/videoanalysishandler/hassensitivecontent().md)

## See Also

### Analyzing video

- [videoAnalysis(forFileAt:)](sensitivecontentanalysis/scsensitivityanalyzer/videoanalysis(forfileat:).md)
