captureVideo
Last updated
Activates the video recording of the mobile device to capture video.
N/A
Returns the formatted information.
Object
success
Boolean value to denote whether the function was executed successfully.
Text
message
The message to print.
Text
data
Any additional message or data to print.
Text
The function to be executed when the video recording is generated successfully.
The function to be executed when the video recording is not generated successfully.
The user wants to create a video recording using their mobile device.
Drag a button component to a page in the mobile designer. Select the event press and drag the function Device.captureVideo to the event flow.

Drag the function to be executed if the video recording is successfully generated to the node below the function. In this example, we are using the Log.write function. Fill in the parameters of the function.

The path of the video file will be shown in the console.
Last updated