camera_roll_close_video()

Updated: April 19, 2023

Close the file descriptor for a video file on the camera roll

Synopsis:

#include <camera/camera_api.h>
camera_error_t camera_roll_close_video(int fd)

Arguments:

fd
The file descriptor for the camera roll file to close.

Library:

libcamapi

Description:

The camera roll is a directory on the device where the camera application saves files. The Camera library manages unique filenames on behalf of the application. Use this function to close the file descriptor that was returned by calling the camera_roll_open_video() function on the camera roll.

Returns:

CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.