Builder

class Builder(context: Context, listener: DeviceRetrievalHelper.Listener, executor: Executor, eDeviceKey: EcPrivateKey)

Builder for DeviceRetrievalHelper.

Use useForwardEngagement or useReverseEngagement to specify which kind of engagement will be used. At least one of these must be used.

Parameters

context

the application context.

listener

a listener.

executor

a Executor to use with the listener.

eDeviceKey

the ephemeral device session encryption key.

Constructors

Link copied to clipboard
constructor(context: Context, listener: DeviceRetrievalHelper.Listener, executor: Executor, eDeviceKey: EcPrivateKey)

Properties

Link copied to clipboard

Functions

Link copied to clipboard

Builds the DeviceRetrievalHelper and starts presentation.

Link copied to clipboard

Configures the helper to use normal engagement.

Link copied to clipboard
fun useReverseEngagement(transport: DataTransport, readerEngagement: ByteArray?, originInfos: List<OriginInfo>?): DeviceRetrievalHelper.Builder

Configures the helper to use reverse engagement.