camera_roll_set_filename_suffix()

Updated: April 19, 2023

Set the suffix to add to filenames generated from the camera roll

Synopsis:

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

Arguments:

handle
The handle returned by a call to the camera_open() function.
suffix
The NULL-terminated string to append as a suffix. Specifying an empty string will remove the suffix. The length of the suffix needs to be less than CAMERA_ROLL_SUFFIXLEN.

Library:

libcamapi

Description:

Use this function to add a specific suffix that will be appended to all filenames generated using camera_roll_open_video() for this handle.

Returns:

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