This enumerated type specifies the camera physical properties list.
#include <camera/camera_api.h>
typedef enum {
CAMERA_PHYSPROP_FOCALLENGTH = 0
CAMERA_PHYSPROP_HORIZONTALFOV
CAMERA_PHYSPROP_VERTICALFOV
CAMERA_PHYSPROP_SENSORWIDTH
CAMERA_PHYSPROP_SENSORHEIGHT
CAMERA_PHYSPROP_MAXZOOMRATIO
CAMERA_PHYSPROP_SENSORWIDTHPIXELS
CAMERA_PHYSPROP_SENSORHEIGHTPIXELS
CAMERA_PHYSPROP_FOCALLENGTH35MM
CAMERA_PHYSPROP_APERTURE
CAMERA_PHYSPROP_SENSORISO
} camera_physprop_t;
BlackBerry 10.0.0
The value (in degrees) is a double value. The horizontal axis is defined as the axis running from left to right of the device when held in its default orientation (i.e., the BlackBerry logo is upright).
The value (in degrees) is a double value. The vertical axis is defined as the axis running from top to bottom of the device when held in its default orientation (i.e., the BlackBerry logo is upright).
The width corresponds to the sensor axis which runs from left to right of the device when held in its default orientation (i.e., the BlackBerry logo is upright).
The height corresponds to the sensor axis which runs from top to bottom of the device when held in its default orientation (i.e., the BlackBerry logo is upright).
For example, a ratio of 3.0 indicates that a fully zoomed-in image is expanded by a magnification factor of 3.0 times when compared with the fully zoomed-out version of the image.
The width corresponds to the sensor axis which runs from left to right of the device when held in its default orientation (i.e., the BlackBerry logo is upright).
The height corresponds to the sensor axis which runs from top to bottom of the device when held in its default orientation (i.e., the BlackBerry logo is upright).
These properties are used as keys for the camera_get_physical_property() function. Each key is associated with a value of the indicated type.