camera_whitebalancemode_t

The white balance mode of the camera.

Synopsis:

#include <camera/camera_api.h>
 
typedef enum {
      CAMERA_WHITEBALANCEMODE_DEFAULT   
      CAMERA_WHITEBALANCEMODE_OFF   
      CAMERA_WHITEBALANCEMODE_AUTO   
      CAMERA_WHITEBALANCEMODE_MANUAL   
      CAMERA_WHITEBALANCEMODE_NUMWHITEBALANCEMODES   
} camera_whitebalancemode_t;

Since:

BlackBerry 10.0.0

Data:

CAMERA_WHITEBALANCEMODE_DEFAULT
The default white balance mode.

Since not all cameras may support all white balance modes, CAMERA_WHITEBALANCEMODE_DEFAULT can always be used as an alias to select a valid white balance mode.

CAMERA_WHITEBALANCEMODE_OFF
Auto white balance is disabled.
CAMERA_WHITEBALANCEMODE_AUTO
Auto white balance is enabled and the white balance will be automatically adjusted by the camera.
CAMERA_WHITEBALANCEMODE_MANUAL
White balance must be manually set.
CAMERA_WHITEBALANCEMODE_NUMWHITEBALANCEMODES
The total number of white balance modes.

Library:

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

Description:

You can use the camera_get_whitebalance_modes() function to determine which modes are supported by the current platform and camera.

Last modified: 2014-05-14



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

comments powered by Disqus