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 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>, 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
the PromptModel to use.
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.
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.