Disable the event specified by key.
camera_error_t camera_disable_event(camera_handle_t handle, camera_eventkey_t key)
The handle returned by a call to the camera_open() function.
The key value that was returned by a call to an enable event function.
Use this function to disable an event that was previously enabled, when these events are not longer required.
CAMERA_OK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.