Get the errno from a BPS_SCREEN_FAILURE event.
#include <bps/screen.h>
BPS_API int screen_event_get_errno(bps_event_t *event)
BlackBerry 10.2.0
The event to get the errno from.
The screen_event_get_event() function returns the error number (errno) reported from the failure in libscreen.
The domain of the event must be the same as the domain that is returned from screen_get_domain(), and the code of the event must be BPS_SCREEN_FAILURE.
The errno.