One Logo Pool Ball
ProximityReader · IOS API REFERENCE

MobileDriversLicenseDisplayRequest

struct · iOS 17.0+ · SDK 27.1

struct MobileDriversLicenseDisplayRequest

A mobile driver's license request that retrieves elements from the holder and displays the results onscreen for visual inspection.

Members (5)

get · iOS 17.0+

options

TypeScript
get options(): MobileDriversLicenseDisplayRequest_Options
Swift declaration
var options: MobileDriversLicenseDisplayRequest.Options

An object that customizes how to perform a display request.

set · iOS 17.0+

options

TypeScript
set options(value: MobileDriversLicenseDisplayRequest_Options)
Swift declaration
var options: MobileDriversLicenseDisplayRequest.Options

An object that customizes how to perform a display request.

init · iOS 17.0+

init

TypeScript
static init(elements?: Array<MobileDriversLicenseDisplayRequest_Element>, options?: MobileDriversLicenseDisplayRequest_Options): MobileDriversLicenseDisplayRequest
Swift declaration
init(elements: [MobileDriversLicenseDisplayRequest.Element] = [], options: MobileDriversLicenseDisplayRequest.Options = .init())

Creates a new mobile driver's license display request.

get · iOS 17.0+

elements

TypeScript
get elements(): Array<MobileDriversLicenseDisplayRequest_Element>
Swift declaration
var 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 · iOS 17.0+

elements

TypeScript
set elements(value: Array<MobileDriversLicenseDisplayRequest_Element>)
Swift declaration
var 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.

Skipped declarations

No declarations were skipped in this snapshot.

All ProximityReader types →