Stop using the viewfinder.
camera_error_t camera_stop_viewfinder(camera_handle_t handle)
The handle returned by a call to the camera_open() function.
Library:libcamapi (For the qcc command, use the -l camapi option to link against this library)
You can only stop the viewfinder after you have successfully started it using camera_start_viewfinder(). After you stop running the viewfinder, you can no longer capture images or record videos.
As of CAMERA_API_VERSION 3 (BlackBerry 10.3.0), this function deprecates camera_stop_photo_viewfinder() and camera_stop_video_viewfinder(). For more information about new and deprecated viewfinder functionality, see Viewfinder modes.
Last modified: 2014-06-24