setInteraction

open fun setInteraction(interaction: TlsInteraction? = null)

Set the object that will be used to interact with the user. It will be used for things like prompting the user for passwords.

The @interaction argument will normally be a derived subclass of #GTlsInteraction. null can also be provided if no user interaction should occur for this connection.

Since

2.48

Parameters

interaction

an interaction object, or null