Get the filename of the saved screenshot.
#include <bps/screencapture.h>
BPS_API const char* screencapture_result_get_filename(screencapture_result_t *result)
BlackBerry 10.2.0
The result handle created by screencapture_grab().
Get the filename of the saved screenshot. This is particularly useful if no filename was specified in the call to screencapture_grab(). In that case, a file name was automatically generated, and can be retrieved here.
If screencapture_grab() returned success, this function returns the filename of the stored screenshot. If screencapture_grab() failed, this function will return NULL.