(Deprecated) Stop using the photo viewfinder
#include <camera/camera_api.h>
camera_error_t camera_stop_photo_viewfinder(camera_handle_t handle)
BlackBerry 10.0.0
The handle returned by a call to the camera_open() function.
Deprecated:
As of CAMERA_API_VERSION 3 (BlackBerry 10.3.0). Instead, use the camera_stop_viewfinder() function. For more information about new and deprecated viewfinder functionality, see Viewfinder modes.
You can only stop the photo viewfinder after you have successfully started it using camera_start_photo_viewfinder(). After you stop running the photo viewfinder, you can no longer take photos.
CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.