camera_disable_event()

Updated: April 19, 2023

Disable the specified event

Synopsis:

#include <camera/camera_api.h>
camera_error_t camera_disable_event(camera_handle_t handle,
                                    camera_eventkey_t key)

Arguments:

handle
The handle returned by a call to the camera_open() function.
key
The key value returned by a call to an enable event function (see camera_eventkey_t).

Library:

libcamapi

Description:

Use this function to disable an event when you no longer want to receive it.

For more information, see Using event mode.

Returns:

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