camera_roll_available_photo()

Determines how much space (in bytes) is available for new photo files on the camera roll.

Synopsis:

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

Since:

BlackBerry 10.0.0

Arguments:

handle

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

size

A pointer that is updated with the number of bytes available for saving photos.

Library:

libcamapi (For the qcc command, use the -l camapi option to link against this library)

Description:

The size argument is updated with the amount of free space in bytes.

Returns:

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