Legal Processor
Defines a Processor that subscribes to LegalProcessor.Input to receive results from a user responding to a LegalProcessor.Input.Prompt for a legal agreement.
Since
1.8.0
Types
Functions
Link copied to clipboard
Link copied to clipboard
Notifies the provided onResult callback when this LegalProcessor obtains a Input.Result until the returned Closeable is closed.
Link copied to clipboard
abstract fun waitFor(requestUpdate: LegalProcessor.Input.RequestUpdate, onResult: Consumer<LegalProcessor.Input.Result>)
Notifies the provided onResult callback when this LegalProcessor handles a Input.Result. When the requestUpdate option is LegalProcessor.Input.RequestUpdate.ALWAYS the processor will attempt to subscribe to a LegalProcessor.Input eagerly in order to obtain a Input.Result earlier than typically required.