Query the viewfinder mode for a camera.
#include <camera/camera_api.h>
camera_error_t camera_get_vf_mode(camera_handle_t handle,
camera_vfmode_t *mode)
BlackBerry 10.3.0
The handle returned by a call to the camera_open() function.
A pointer to camera_vfmode_t value in which to return the current viewfinder mode.
Use this function to retrieve the currently configured viewfinder mode.
For more information about new and deprecated viewfinder functionality, see Viewfinder modes.
CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.