camera_roll_available_video()

Updated: April 19, 2023

Report the space available for new video files on the camera roll

Synopsis:

#include <camera/camera_api.h>
camera_error_t camera_roll_available_video(camera_handle_t handle,
                                           long long *size)

Arguments:

handle
The handle returned by a call to the camera_open() function.
size
A pointer to a value that is updated with the number of bytes available for saving videos.

Library:

libcamapi

Description:

The size argument is updated with the amount of free space, in bytes, for new video files on the camera roll.

Returns:

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