---
title: "didDownloadFile(_:error:options:contextInfo:)"
framework: imagecapturecore
role: symbol
role_heading: Instance Method
path: "imagecapturecore/iccameradevicedownloaddelegate/diddownloadfile(_:error:options:contextinfo:)"
---

# didDownloadFile(_:error:options:contextInfo:)

Tells the delegate that the requested download has completed.

## Declaration

```swift
optional func didDownloadFile(_ file: ICCameraFile, error: (any Error)?, options: [String : Any] = [:], contextInfo: UnsafeMutableRawPointer?)
```

## See Also

### Responding to Download Status

- [didReceiveDownloadProgress(for:downloadedBytes:maxBytes:)](imagecapturecore/iccameradevicedownloaddelegate/didreceivedownloadprogress(for:downloadedbytes:maxbytes:).md)
