---
title: AVCaptureFileOutputRecordingDelegate
framework: avfoundation
role: symbol
role_heading: Protocol
path: avfoundation/avcapturefileoutputrecordingdelegate
---

# AVCaptureFileOutputRecordingDelegate

Methods for responding to events that occur while recording captured media to a file.

## Declaration

```swift
protocol AVCaptureFileOutputRecordingDelegate : NSObjectProtocol
```

## Overview

Overview Defines an interface for delegates of AVCaptureFileOutput to respond to events that occur in the process of recording a single file. The delegate of an AVCaptureFileOutput object must adopt the AVCaptureFileOutputRecordingDelegate protocol.

## Topics

### Delegate methods

- [fileOutput(_:didStartRecordingTo:from:)](avfoundation/avcapturefileoutputrecordingdelegate/fileoutput(_:didstartrecordingto:from:).md)
- [fileOutput(_:didStartRecordingTo:startPTS:from:)](avfoundation/avcapturefileoutputrecordingdelegate/fileoutput(_:didstartrecordingto:startpts:from:).md)
- [fileOutput(_:willFinishRecordingTo:from:error:)](avfoundation/avcapturefileoutputrecordingdelegate/fileoutput(_:willfinishrecordingto:from:error:).md)
- [fileOutput(_:didFinishRecordingTo:from:error:)](avfoundation/avcapturefileoutputrecordingdelegate/fileoutput(_:didfinishrecordingto:from:error:).md)
- [fileOutput(_:didPauseRecordingTo:from:)](avfoundation/avcapturefileoutputrecordingdelegate/fileoutput(_:didpauserecordingto:from:).md)
- [fileOutput(_:didResumeRecordingTo:from:)](avfoundation/avcapturefileoutputrecordingdelegate/fileoutput(_:didresumerecordingto:from:).md)

## Relationships

### Inherits From

- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### File capture

- [Recording movies in alternative formats](avfoundation/recording-movies-in-alternative-formats.md)
- [AVCaptureMovieFileOutput](avfoundation/avcapturemoviefileoutput.md)
- [AVCaptureAudioFileOutput](avfoundation/avcaptureaudiofileoutput.md)
- [AVCaptureFileOutput](avfoundation/avcapturefileoutput.md)
- [AVCaptureFileOutputDelegate](avfoundation/avcapturefileoutputdelegate.md)
