---
title: "photoIDRawData(retaining:notRetaining:)"
framework: proximityreader
role: symbol
role_heading: Type Method
path: "proximityreader/mobiledocumentrequest/photoidrawdata(retaining:notretaining:)"
---

# photoIDRawData(retaining:notRetaining:)

A request which retrieves photo ID elements from the holder and returns the raw response data for processing.

## Declaration

```swift
static func photoIDRawData(retaining retainedElements: [MobilePhotoIDRawDataRequest.Element], notRetaining nonRetainedElements: [MobilePhotoIDRawDataRequest.Element]) -> Self
```
