camera_exposuremode_t

The exposure mode of the camera.

Synopsis:

#include <camera/camera_api.h>
 
typedef enum {
      CAMERA_EXPOSUREMODE_DEFAULT   
      CAMERA_EXPOSUREMODE_OFF   
      CAMERA_EXPOSUREMODE_AUTO   
      CAMERA_EXPOSUREMODE_MANUAL   
      CAMERA_EXPOSUREMODE_ISO_PRIORITY   
      CAMERA_EXPOSUREMODE_SHUTTER_PRIORITY   
      CAMERA_EXPOSUREMODE_APERTURE_PRIORITY   
      CAMERA_EXPOSUREMODE_ISO_SHUTTER_PRIORITY   
      CAMERA_EXPOSUREMODE_ISO_APERTURE_PRIORITY   
      CAMERA_EXPOSUREMODE_SHUTTER_APERTURE_PRIORITY   
      CAMERA_EXPOSUREMODE_NUMEXPOSUREMODES   
} camera_exposuremode_t;

Since:

BlackBerry 10.0.0

Data:

CAMERA_EXPOSUREMODE_DEFAULT
The default exposure mode for the camera.

Since not all cameras support all exposure modes, CAMERA_EXPOSUREMODE_DEFAULT can always be used as an alias to the most automatic exposure mode supported by the camera.

CAMERA_EXPOSUREMODE_OFF
Auto exposure is off.
CAMERA_EXPOSUREMODE_AUTO
Exposure is automatically adjusted by the camera by varying the shutter speed, ISO value, and aperture value.
CAMERA_EXPOSUREMODE_MANUAL
Manual exposure mode.

The camera will not automatically adjust any of the exposure controls. The shutter speed, ISO value, and aperture value must all be set manually.

CAMERA_EXPOSUREMODE_ISO_PRIORITY
The ISO value must be manually set.

The camera automatically adjusts the shutter speed and aperture value.

Since: BlackBerry 10.2.0

CAMERA_EXPOSUREMODE_SHUTTER_PRIORITY
The shutter speed must be manually set.

The camera automatically adjusts the ISO value and aperture value.

Since: BlackBerry 10.2.0

CAMERA_EXPOSUREMODE_APERTURE_PRIORITY
The aperture value must be manually set.

The camera automatically adjusts the shutter speed and ISO value.

Since: BlackBerry 10.2.0

CAMERA_EXPOSUREMODE_ISO_SHUTTER_PRIORITY
The ISO value and shutter speed must be manually set.

The camera automatically adjusts the aperture value.

Since: BlackBerry 10.2.0

CAMERA_EXPOSUREMODE_ISO_APERTURE_PRIORITY
The ISO value and aperture value must be manually set.

The camera automatically adjusts the shutter speed.

Since: BlackBerry 10.2.0

CAMERA_EXPOSUREMODE_SHUTTER_APERTURE_PRIORITY
The shutter speed and aperture value must be manually set.

The camera automatically adjusts the ISO value.

Since: BlackBerry 10.2.0

CAMERA_EXPOSUREMODE_NUMEXPOSUREMODES
The total number of exposure modes.

Library:

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

Description:

You can use the camera_get_exposure_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