screencapture_result_get_error_message()

Get the error message from a failed screen grab.

Synopsis:

#include <bps/screencapture.h>
 
BPS_API const char* screencapture_result_get_error_message(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:

If screencapture_grab() failed, this function returns a more detailed error message. If screencapture_grab() succeeded, this will return NULL.