camera_close()

Updated: April 19, 2023

Discontinue use of a logical camera on the device

Synopsis:

#include <camera/camera_api.h>
camera_error_t camera_close(camera_handle_t handle)

Arguments:

handle
The handle returned by a call to the camera_open() function.

Library:

libcamapi

Description:

Any internal resources associated with the previously opened camera unit are freed.

Returns:

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