camera_set_scene_mode()

Change the scene mode on the camera.

Synopsis:

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

Arguments:

handle

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

mode

The desired scene mode to set the camera to.

Library:

libcamapi

Description:

You specify the scene mode to set using the mode argument. The viewfinder must be active prior to setting the scene mode.

Returns:

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