camera_get_ev_offset()

Retrieve the current exposure value (EV) offset for exposure compensation.

Synopsis:

#include <camera/camera_api.h>
 
camera_error_t camera_get_ev_offset(camera_handle_t handle,                 
                                    double *offset)

Since:

BlackBerry 10.2.0

Arguments:

handle

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

offset

A pointer to a double value that will be updated with the current EV offset.

Library:

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

Description:

Use this function to retrieve the current EV offset. The current EV offset is disabled when the exposure mode is one of these values:

See also camera_set_ev_offset().

The viewfinder must be running before calling this function.

Returns:

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