Creates a new mobile national ID card display request.
get · iOS 18.0+
options
TypeScript
get options(): MobileNationalIDCardDisplayRequest_Options
Swift declaration
var options: MobileNationalIDCardDisplayRequest.Options
An object that customizes how to perform a display request.
set · iOS 18.0+
options
TypeScript
set options(value: MobileNationalIDCardDisplayRequest_Options)
Swift declaration
var options: MobileNationalIDCardDisplayRequest.Options
An object that customizes how to perform a display request.
get · iOS 18.0+
elements
TypeScript
get elements(): Array<MobileNationalIDCardDisplayRequest_Element>
Swift declaration
var elements: [MobileNationalIDCardDisplayRequest.Element]
The document elements you're requesting.
- Note: A request isn't considered valid if the list of elements is empty, contains duplicates,
or contains both ``Element/age`` and ``Element/ageAtLeast(_:)``.
If you call ``MobileDocumentReaderSession/requestDocument(_:)`` with an invalid
request, the framework throws an ``MobileDocumentReaderError/invalidRequest`` error.
set · iOS 18.0+
elements
TypeScript
set elements(value: Array<MobileNationalIDCardDisplayRequest_Element>)
Swift declaration
var elements: [MobileNationalIDCardDisplayRequest.Element]
The document elements you're requesting.
- Note: A request isn't considered valid if the list of elements is empty, contains duplicates,
or contains both ``Element/age`` and ``Element/ageAtLeast(_:)``.
If you call ``MobileDocumentReaderSession/requestDocument(_:)`` with an invalid
request, the framework throws an ``MobileDocumentReaderError/invalidRequest`` error.