Configure the current output properties for a photo.
#include <camera/camera_api.h>
camera_error_t camera_set_photo_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.
Ensure that you call this function before you start the viewfinder in photo mode.
camera_set_photo_property( camera_handle, CAMERA_IMGPROP_WIDTH, 2322, CAMERA_IMGPROP_HEIGHT, 4128, CAMERA_IMGPROP_ROTATION, 270 );
CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.