(Deprecated) Configure one or more settings of the photo viewfinder
#include <camera/camera_api.h>
camera_error_t camera_set_photovf_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.
Deprecated:
As of CAMERA_API_VERSION 3 (BlackBerry 10.3.0). Instead, use the camera_set_vf_property() function. For more information about new and deprecated viewfinder functionality, see Viewfinder modes.
camera_set_vf_property( camera_handle, CAMERA_IMGPROP_WIN_GROUPID, "mygroup", CAMERA_IMGPROP_WIN_ID, "vfwindow", CAMERA_IMGPROP_WIDTH, 720, CAMERA_IMGPROP_HEIGHT, 1280, CAMERA_IMGPROP_ROTATION, 270, CAMERA_IMGPROP_FRAMERATE, (double)15.0 );
CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.