Informs the delegate when all pending data has been written to an output file.
- iOS 4.0+
- macOS 10.7+
- Mac Catalyst 13.0+
The capture file output that has finished writing the file.
The file URL of the file that is being written.
An array of
AVCaptureobjects attached to the file output that provided the data that is being written to the file.
If the file was not written successfully, an error object that describes the problem; otherwise
This method is called whenever a file is finished. If the file was forced to be finished due to an error, the error is described in the error parameter—otherwise, the error parameter is
This method is called when the file output has finished writing all data to a file whose recording was stopped, either because
stop were called, or because an error (described by the error parameter) occurred (if no error occurred, the error parameter is
This method is always called for each recording request, even if no data is successfully written to the file.
You should not assume that this method will be called on a specific thread.