setConsent

Sets the end-user consent on the scanning session. Native getResult receives this consent when generating the request payload.

Return

true when consent has been accepted for later payload generation.