---
title: recordedFileSize
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avcapturefileoutput/recordedfilesize
---

# recordedFileSize

Indicates the size, in bytes, of the data recorded to the current output file.

## Declaration

```swift
var recordedFileSize: Int64 { get }
```

## Discussion

Discussion If a recording is in progress, this property returns the size in bytes of the data recorded so far.

## See Also

### Setting file output properties

- [delegate](avfoundation/avcapturefileoutput/delegate.md)
- [maxRecordedDuration](avfoundation/avcapturefileoutput/maxrecordedduration.md)
- [maxRecordedFileSize](avfoundation/avcapturefileoutput/maxrecordedfilesize.md)
- [minFreeDiskSpaceLimit](avfoundation/avcapturefileoutput/minfreediskspacelimit.md)
- [outputFileURL](avfoundation/avcapturefileoutput/outputfileurl.md)
- [recordedDuration](avfoundation/avcapturefileoutput/recordedduration.md)
- [isRecording](avfoundation/avcapturefileoutput/isrecording.md)
- [isRecordingPaused](avfoundation/avcapturefileoutput/isrecordingpaused.md)
