camera_get_scene_mode()

Query the current scene mode of the camera.

Synopsis:

#include <camera/camera_api.h>
 
camera_error_t camera_get_scene_mode(camera_handle_t handle,                 
                                     camera_scenemode_t *mode)

Since:

BlackBerry 10.0.0

Arguments:

handle

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

mode

A pointer to a camera_scenemode_t value in which to return the currently configured scene mode.

Library:

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

Description:

Use this function to retrieve the currently configured scene mode for the camera.

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