camera_disable_event()
Disable the event specified by key.
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:
libcamapiDescription:
Use this function to disable an event that was previously enabled, when these events are not longer required.
Returns:
CAMERA_OK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.