screencapture_result_get_error_code()

Get the extended error code from a failed screen grab.

Synopsis:

#include <bps/screencapture.h>
 
BPS_API int screencapture_result_get_error_code(screencapture_result_t *result)

Since:

BlackBerry 10.2.0

Arguments:

result

The result handle created by screencapture_grab().

Library:

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

Description:

Returns:

An error code from camera/camera_api.h will be returned. CAMERA_EOK indicates that no failure had occurred.