MdocProximityReaderQrPresentment
A composable for holder-side presentment using ISO/IEC 18013-5 Second Edition Reader QR engagement (section 9.7).
Some platforms might implement this using platform-specific mechanisms, for example on Android it will use org.multipaz.compose.prompt.PresentmentActivity. This can be inhibited by passing true to disablePlatformSpecificImplementation.
Parameters
a Modifier.
the source of truth for what is being presented.
a PromptModel.
a composable to show UI to start scanning a Reader QR code, calling scanQrCode with MdocProximityReaderQrSettings when initiated.
a composable which scans a Reader QR code and passes candidate URIs to onQrCodeScanned, which returns true if the URI is an mdoc: Reader QR URI and presentment has begun, or false to continue scanning.
a composable which will be shown while connecting and transacting with the reader.
a composable which will be shown when the transaction is complete.
a list of documents the user may have preselected or the empty list.
the capabilities to convey to the mdoc reader in DeviceEngagement.
the ECDH curves supported for session encryption.
the MdocTransportFactory to use for creating transports.
set to true to not use platform-specific implementations.