Settings

data class Settings(val sessionEncryptionCurve: EcCurve, val allowMultipleRequests: Boolean, val useNegotiatedHandover: Boolean, val negotiatedHandoverPreferredOrder: List<String>, val staticHandoverBleCentralClientModeEnabled: Boolean, val staticHandoverBlePeripheralServerModeEnabled: Boolean, val staticHandoverNfcDataTransferEnabled: Boolean, val transportOptions: MdocTransportOptions, val promptModel: PromptModel, val presentmentActivityClass: Class<out MdocNfcPresentmentActivity>)

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

Constructors

Link copied to clipboard
constructor(sessionEncryptionCurve: EcCurve, allowMultipleRequests: Boolean, useNegotiatedHandover: Boolean, negotiatedHandoverPreferredOrder: List<String>, staticHandoverBleCentralClientModeEnabled: Boolean, staticHandoverBlePeripheralServerModeEnabled: Boolean, staticHandoverNfcDataTransferEnabled: Boolean, transportOptions: MdocTransportOptions, promptModel: PromptModel, presentmentActivityClass: Class<out MdocNfcPresentmentActivity>)

Properties

Link copied to clipboard

whether to allow multiple requests.

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

the class of the activty to create for, must be derived from MdocNfcPresentmentActivity.

Link copied to clipboard
Link copied to clipboard

the Elliptic Curve Cryptography curve to use for session encryption.

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.