camera_set_exposure_mode()

Configure the exposure mode on the camera.

Synopsis:

#include <camera/camera_api.h>
 
camera_error_t camera_set_exposure_mode(camera_handle_t handle,                 
                                        camera_exposuremode_t mode)

Since:

BlackBerry 10.0.0

Arguments:

handle

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

mode

The exposure mode to apply.

Library:

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

Description:

Use this function to set the active exposure mode on the camera. To determine valid exposure modes that can be set, call the camera_get_exposure_modes() function.

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.

Last modified: 2014-06-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus