camera_disable_event()

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 that was returned by a call to an enable event function.

Library:

libcamapi

Description:

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

For more information, see "Event mode" in the Camera Library Developer's Guide.

Returns:

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