camera_get_status_details()

Retrieve the status details from a status event.

Synopsis:

#include <camera/camera_api.h>
 
camera_error_t camera_get_status_details(camera_handle_t handle,                 
                                         union sigval value,                 
                                         camera_devstatus_t *devstatus,                 
                                         uint16_t *devstatusextra)

Since:

BlackBerry 10.0.0

Arguments:

handle

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

value

The sigval extracted from the struct sigevent that was delivered to your application.

devstatus

The returned device status details. For more information, see camera_devstatus_t.

devstatusextra

The returned extra device status details. For more information, see camera_devstatus_t.

Library:

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

Description:

Use this function to parse device status details from the sigval returned by a status event.

Status events are enabled using camera_enable_status_event(). For more information about event mode, 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-11-11



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

comments powered by Disqus