camera_roll_close_photo()

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

Synopsis:

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

Arguments:

fd

The file descriptor to the open file on the camera roll.

Library:

libcamapi

Description:

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

Returns:

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