consent
End-user consent that was in effect for the capture session, either provided by the integrator or collected by the built-in consent screen. null when the session ran without consent.
The consent object is included in the request payload generated by native getResult, so it does not have to be attached to the request manually. It is exposed here so integrators can persist it and reuse it for subsequent sessions of the same end user.