camera_roll_get_path()

Retrieve the camera roll path.

Synopsis:

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

Arguments:

handle

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

pathname

A buffer to receive the NULL-terminated string specifying the path to the camera roll.

pathlen

The size of the path name buffer, should be set to CAMERA_ROLL_NAMELEN.

Library:

libcamapi

Description:

Returns:

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