Updated: October 28, 2024 |
Stop the viewfinder
#include <camera/camera_api.h>
camera_error_t camera_stop_viewfinder(camera_handle_t handle)
You can stop the viewfinder only 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.
CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.