Retrieve whether a card peek stopped due to a swipe away gesture.
BPS_API int navigator_event_get_card_peek_stopped_swipe_away(bps_event_t *event, bool *is_swipe_away)
The NAVIGATOR_CARD_PEEK_STOPPED event.
If true the card peek action stopped due to a swipe away gesture, if false the card peek was stopped normally.
The navigator_event_get_card_peek_stopped_swipe_away() function determines whether a card peek action stopped due to the user swiping away the card to navigate to the content being peeked at, or whether the card peek action 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_CARD_PEEK_STOPPED event to extract the manner in which the peek was stopped.
BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.
Last modified: 2013-09-30