camera_deregister_resource()

Deregister from the camera resource management component.

Synopsis:

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

Since:

BlackBerry 10.0.0

Arguments:

handle

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

Library:

libcamapi (For the qcc command, use the -l camapi option to link against this library)

Description:

Please see Camera resource management for important details about the resource management procedure.

Use this function to indicate to the operating system that your application is no longer processing camera buffers. For more information, see camera_register_resource().

Returns:

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

Last modified: 2014-09-30



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus