stop_preview_func_t

Updated: October 26, 2022

Stop a running preview (viewfinder)

Synopsis:

#include <camera/external_camera_api.h>
typedef int(* stop_preview_func_t)(void *handle);

Arguments:

handle
The handle that's returned from calling the function open_external_camera_func_t.

Library:

libcamapi

Description:

This function is invoked when the Sensor service needs to stop the viewfinder.

Returns:

CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.