Retrieve whether this card's peek stopped due to a swipe away gesture.
#include <bps/navigator.h>
BPS_API int navigator_event_get_peek_stopped_swipe_away(bps_event_t *event,
bool *is_swipe_away)
BlackBerry 10.0.0
The NAVIGATOR_PEEK_STOPPED event.
If true the peek action of the card stopped due to a swipe away gesture, if false the card peek was stopped normally.
The navigator_event_get_peek_stopped_swipe_away() function determines whether a peek action of this card stopped due to the user swiping away the card to navigate to the content being peeked at, or whether the peek action of this card stopped due to the user returning the card to the stack, resuming the activity on the current card. Call this function from the card application upon receiving the NAVIGATOR_PEEK_STOPPED event to extract the manner in which the peek was stopped.
BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.