Settings

data class Settings(val source: PresentmentSource, val promptModel: PromptModel, val presentmentModel: PresentmentModel?, val activityClass: Class<out Activity>?, val sessionEncryptionCurve: EcCurve, val useNegotiatedHandover: Boolean, val negotiatedHandoverPreferredOrder: List<String>, val staticHandoverBleCentralClientModeEnabled: Boolean, val staticHandoverBlePeripheralServerModeEnabled: Boolean, val staticHandoverNfcDataTransferEnabled: Boolean, val transportOptions: MdocTransportOptions)

Settings provided by the application for how to configure NFC engagement.

Constructors

Link copied to clipboard
constructor(source: PresentmentSource, promptModel: PromptModel, presentmentModel: PresentmentModel?, activityClass: Class<out Activity>?, sessionEncryptionCurve: EcCurve, useNegotiatedHandover: Boolean, negotiatedHandoverPreferredOrder: List<String>, staticHandoverBleCentralClientModeEnabled: Boolean, staticHandoverBlePeripheralServerModeEnabled: Boolean, staticHandoverNfcDataTransferEnabled: Boolean, transportOptions: MdocTransportOptions)

Properties

Link copied to clipboard

the activity to launch or null to not launch an activity.

Link copied to clipboard

a list of the preferred order for which kind of org.multipaz.mdoc.transport.MdocTransport to create when using NFC negotiated handover.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

the Elliptic Curve Cryptography curve to use for session encryption.

Link copied to clipboard

the PresentmentSource to use as the source of truth for what to present.

true if mdoc BLE Central Client mode should be offered when using NFC static handover.

true if mdoc BLE Peripheral Server mode should be offered when using NFC static handover.

Link copied to clipboard

true if NFC data transfer should be offered when using NFC static handover

Link copied to clipboard

the MdocTransportOptions to use for newly created connections.

Link copied to clipboard

if true NFC negotiated handover will be used, otherwise NFC static handover.