Updated: October 28, 2024 |
Set the camera roll path
#include <camera/camera_api.h>
camera_error_t camera_roll_set_path(camera_handle_t handle, char *pathname)
Use this function to change the path that the camera uses to create video files when you call camera_roll_open_video(). The value for the pathname argument must be a NULL-terminated string and must not be larger than CAMERA_ROLL_NAMELEN. The path you select must be a directory which your application has write access to.
CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.