---
title: PHAssetResourceDataRequestID
framework: photos
role: symbol
role_heading: Type Alias
path: photos/phassetresourcedatarequestid
---

# PHAssetResourceDataRequestID

A numeric identifier for an asynchronous asset resource loading request.

## Declaration

```swift
typealias PHAssetResourceDataRequestID = Int32
```

## Discussion

Discussion Pass this identifier to the cancelDataRequest(_:) method if you need to cancel a request before it completes.

## See Also

### Constants

- [Resource Loading Request Identifiers](photokit/resource-loading-request-identifiers.md)
