One Logo Pool Ball
ProximityReader · IOS API REFERENCE

MobileDocumentDisplayRequest.Options

struct · iOS 26.0+ · SDK 27.1

struct Options

An object that customizes how to perform a display request. Use this object to configure the validation mode of the request.

Members (5)

init · iOS 26.0+

init

TypeScript
static init(allowedDocumentTypes?: Array<MobileDocumentDisplayRequest_Options_DocumentType>, validationMode?: MobileDocumentDisplayRequest_Options_ValidationMode): MobileDocumentDisplayRequest_Options
Swift declaration
init(allowedDocumentTypes: [MobileDocumentDisplayRequest.Options.DocumentType] = [], validationMode: MobileDocumentDisplayRequest.Options.ValidationMode = .check)

Creates a mobile document reader display request options type. - Parameters: - allowedDocumentTypes: The allowed document types of the mobile document request. - validationMode: The validation mode of the mobile document request.

get · iOS 26.0+

allowedDocumentTypes

TypeScript
get allowedDocumentTypes(): Array<MobileDocumentDisplayRequest_Options_DocumentType>
Swift declaration
var allowedDocumentTypes: [MobileDocumentDisplayRequest.Options.DocumentType]

The allowed document types of the mobile document request. - Note: A request isn't considered valid if the list of allowed document types is empty or contains duplicates. If you call ``MobileDocumentReaderSession/requestDocument(_:)`` with an invalid request, the framework throws an ``MobileDocumentReaderError/invalidRequest`` error.

set · iOS 26.0+

allowedDocumentTypes

TypeScript
set allowedDocumentTypes(value: Array<MobileDocumentDisplayRequest_Options_DocumentType>)
Swift declaration
var allowedDocumentTypes: [MobileDocumentDisplayRequest.Options.DocumentType]

The allowed document types of the mobile document request. - Note: A request isn't considered valid if the list of allowed document types is empty or contains duplicates. If you call ``MobileDocumentReaderSession/requestDocument(_:)`` with an invalid request, the framework throws an ``MobileDocumentReaderError/invalidRequest`` error.

get · iOS 26.0+

validationMode

TypeScript
get validationMode(): MobileDocumentDisplayRequest_Options_ValidationMode
Swift declaration
var validationMode: MobileDocumentDisplayRequest.Options.ValidationMode

The validation mode of the mobile document request. The default value is ``ValidationMode-swift.struct/check``.

set · iOS 26.0+

validationMode

TypeScript
set validationMode(value: MobileDocumentDisplayRequest_Options_ValidationMode)
Swift declaration
var validationMode: MobileDocumentDisplayRequest.Options.ValidationMode

The validation mode of the mobile document request. The default value is ``ValidationMode-swift.struct/check``.

Skipped declarations

No declarations were skipped in this snapshot.

All ProximityReader types →