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

# photoIDData(retaining:notRetaining:)

A request which retrieves elements from the holder and returns the validated document elements.

## Declaration

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