<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ProximityReader",
  "identifier" : "/documentation/ProximityReader/MobileDocumentDisplayRequest/Options-swift.struct/init(allowedDocumentTypes:validationMode:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "ProximityReader"
    ],
    "preciseIdentifier" : "s:15ProximityReader28MobileDocumentDisplayRequestV7OptionsV07allowedD5Types14validationModeAESayAE0D4TypeVG_AE010ValidationK0Vtcfc"
  },
  "title" : "init(allowedDocumentTypes:validationMode:)"
}
-->

# init(allowedDocumentTypes:validationMode:)

Creates a mobile document reader display request options type.

```
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.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)