analyzeVideoFile:completionHandler:
Analyzes a video file on disk at the given URL and runs the given code on completion.
Declaration
- (NSProgress *) analyzeVideoFile:(NSURL *) fileURL completionHandler:(void (^)(SCSensitivityAnalysis *results, NSError *error)) completionHandler;Parameters
- fileURL:
A URL to a video file on disk.
Mentioned in
Return Value
An object that indicates how far analysis progresses while the system checks the video for sensitive content.
Discussion
The completion handler:
Runs on an unspecified queue
Provides a
resultsparameter that indicates whether checked content contains nudity.