---
title: PHAssetVideoProgressHandler
framework: photos
role: symbol
role_heading: Type Alias
path: photos/phassetvideoprogresshandler
---

# PHAssetVideoProgressHandler

The signature for a block that Photos calls while downloading asset data from iCloud. Used by the progressHandler property.

## Declaration

```swift
typealias PHAssetVideoProgressHandler = (Double, (any Error)?, UnsafeMutablePointer<ObjCBool>, [AnyHashable : Any]?) -> Void
```

## Discussion

Discussion If you request a video asset whose data is not on the local device, and you have enabled downloading with the isNetworkAccessAllowed property, Photos calls your block periodically to report progress and allow canceling the download. note: Because Photos calls this block in an arbitrary serial queue, it may not execute on the main thread. The block takes the following parameters:

## See Also

### Fetching Video Data from iCloud

- [isNetworkAccessAllowed](photos/phvideorequestoptions/isnetworkaccessallowed.md)
- [progressHandler](photos/phvideorequestoptions/progresshandler.md)
