camera_roll_set_path()

Set the camera roll path.

Synopsis:

#include <camera/camera_api.h>
 
camera_error_t camera_roll_set_path(camera_handle_t handle, char *pathname)

Arguments:

handle

The handle returned by a call to the camera_open() function.

pathname

The string represent the path to the camera roll.

Library:

libcamapi

Description:

The value you set for the pathname argument must a NULL-terminated string and must not be larger than the CAMERA_ROLL_NAMELEN. The camera roll is the directory where video files and image files are stored.

Returns:

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