screen_stop_events()

Stop receiving libscreen events.

Synopsis:

#include <bps/screen.h>
 
BPS_API int screen_stop_events(screen_context_t context)

Since:

BlackBerry 10.0.0

Arguments:

context

The libscreen context that was passed to screen_request_events().

Library:

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

Description:

The screen_stop_events() function stops libscreen events from being delivered to the application using BPS. You should call this function after you call screen_request_events() for the first time, and before you call screen_request_events() again.

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.

Last modified: 2014-05-14



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

comments powered by Disqus