camera_get_lowlight_status()

Retrieve the low-light status indicator state.

Synopsis:

#include <camera/camera_api.h>
 
camera_error_t camera_get_lowlight_status(camera_handle_t handle,                 
                                          bool *lowlight)

Since:

BlackBerry 10.1.0

Arguments:

handle

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

lowlight

A pointer to a bool value which is set to true if the camera considers the light level to be low, and false otherwise.

Library:

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

Description:

Use this function to determine if the camera considers the current conditions to be low in light.

The viewfinder must be started before using this function.

Returns:

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