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)

Since:

BlackBerry 10.0.0

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 (For the qcc command, use the -l camapi option to link against this library)

Description:

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

For more information, see About event mode.

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-10-09



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

comments powered by Disqus