Retrieve one or more physical properties of the camera.
#include <camera/camera_api.h>
camera_error_t camera_get_physical_property(camera_handle_t handle,
args...)
BlackBerry 10.0.0
The handle returned by a call to the camera_open() function.
A series of comma-delimited property-value pairs where each value must be a pointer a variable of the expected type.
For the args argument, you can provide one or more property-value pairs using camera_physprop_t values as the name of the property and a pointer to the correct type for the value such as an int or double value. For more information about the correct types to use, see camera_physprop_t.
camera_get_physical_property( camera_handle, CAMERA_PHYSPROP_FOCALLENGTH, &focalLength, CAMERA_PHYSPROP_HORIZONTALFOV, &horizFov );
CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.