camera_deregister_resource()

Deregister from the resource management component of the camera service.

Synopsis:

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

Arguments:

handle

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

Library:

libcamapi

Description:

Use this function to signal to the camera service that your application is no longer processing buffers from the camera service. See camera_register_resource() for usage.

Returns:

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