Method Signature
Description
ThestartVideoagreement() method initiates the video agreement module, which records the user reading and accepting specific terms, conditions, or declarations. The text is displayed on screen for the user to read aloud while being recorded.
Parameters
The text that the user must read aloud during the recording. This text will be displayed on screen for the user to follow.Example: “I, John Doe, with ID number 123456, declare that the information I have provided is true and accurate.”
Optional configuration object for customizing the module’s behavior and appearance
Returns
A promise that resolves with the video agreement module response
Code Example
Error Handling
The method may throw errors that can be identified usingFadSDK.Errors.Videoagreement:
NOT_ACCEPT_CAMERA_PERMISSION- Camera permission was not granted
The video agreement module requires both camera and microphone permissions to function properly.
Always call
FAD_SDK.end() in a finally block to properly clean up resources after the module completes or fails.Related Methods
- startSignature() - Capture digital signature with face video
- startVideotaping() - Capture video with ID presentation