Builder
class Builder(context: Context, eDeviceKey: EcPublicKey, options: DataTransportOptions, listener: QrEngagementHelper.Listener, executor: Executor)
Creates a new builder for QrEngagementHelper.
Parameters
context
application context.
eDeviceKey
the public part of EDeviceKey
for mdoc session encryption according to ISO/IEC 18013-5:2021 section 9.1.1.4.
options
set of options for creating DataTransport instances.
listener
the listener.
executor
a Executor to use with the listener.
Constructors
Link copied to clipboard
constructor(context: Context, eDeviceKey: EcPublicKey, options: DataTransportOptions, listener: QrEngagementHelper.Listener, executor: Executor)
Functions
Link copied to clipboard
Builds the QrEngagementHelper and starts listening for connections.
Link copied to clipboard
fun setConnectionMethods(connectionMethods: List<MdocConnectionMethod>): <Error class: unknown class>
Sets the connection methods to use.
Link copied to clipboard
Sets data transports to use.