---
title: "init(allowedDocumentTypes:validationMode:)"
framework: proximityreader
role: symbol
role_heading: Initializer
path: "proximityreader/mobiledocumentdisplayrequest/options-swift.struct/init(alloweddocumenttypes:validationmode:)"
---

# init(allowedDocumentTypes:validationMode:)

Creates a mobile document reader display request options type.

## Declaration

```swift
init(allowedDocumentTypes: [MobileDocumentDisplayRequest.Options.DocumentType] = [], validationMode: MobileDocumentDisplayRequest.Options.ValidationMode = .check)
```

## Parameters

- `allowedDocumentTypes`: The allowed document types of the mobile document request.
- `validationMode`: The validation mode of the mobile document request.
