Updated: October 28, 2024 |
Stop a running preview (viewfinder)
#include <camera/external_camera_api.h>
typedef int(* stop_preview_func_t)(void *handle);
This function is invoked when the Sensor service needs to stop the viewfinder.
CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.