options
TypeScriptget options(): MobileDriversLicenseDisplayRequest_OptionsSwift declarationvar options: MobileDriversLicenseDisplayRequest.OptionsAn object that customizes how to perform a display request.
struct · iOS 17.0+ · SDK 27.1
struct MobileDriversLicenseDisplayRequestA mobile driver's license request that retrieves elements from the holder and displays the results onscreen for visual inspection.
get options(): MobileDriversLicenseDisplayRequest_OptionsSwift declarationvar options: MobileDriversLicenseDisplayRequest.OptionsAn object that customizes how to perform a display request.
set options(value: MobileDriversLicenseDisplayRequest_Options)Swift declarationvar options: MobileDriversLicenseDisplayRequest.OptionsAn object that customizes how to perform a display request.
static init(elements?: Array<MobileDriversLicenseDisplayRequest_Element>, options?: MobileDriversLicenseDisplayRequest_Options): MobileDriversLicenseDisplayRequestSwift declarationinit(elements: [MobileDriversLicenseDisplayRequest.Element] = [], options: MobileDriversLicenseDisplayRequest.Options = .init())Creates a new mobile driver's license display request.
get elements(): Array<MobileDriversLicenseDisplayRequest_Element>Swift declarationvar elements: [MobileDriversLicenseDisplayRequest.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 elements(value: Array<MobileDriversLicenseDisplayRequest_Element>)Swift declarationvar elements: [MobileDriversLicenseDisplayRequest.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.
No declarations were skipped in this snapshot.