navigator_card_swipe_away()

Inform the Navigator that a swipe away gesture has been performed.

Synopsis:

#include <bps/navigator.h>
 
BPS_API int navigator_card_swipe_away(void)

Since:

BlackBerry 10.0.0

Arguments:

Library:

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

Description:

The navigator_card_swipe_away() function sends a notification to the Navigator to indicate that the given card application has detected a "swipe away" gesture (performed by swiping from the card application outwards). This informs the Navigator that it should dismiss the application (by means of a transition out past the left side of the screen). This function is exclusive to the BlackBerry Hub.

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.