consentObtained

The UI layer should call this when a user has selected a document.

This can only be called in state State.WAITING_FOR_CONSENT

Parameters

selection

The selection the user made and consented to or null if the user canceled.