Retrieve the type of the card peek action.
#include <bps/navigator.h>
BPS_API int navigator_event_get_card_peek_type(bps_event_t *event)
BlackBerry 10.0.0
The NAVIGATOR_CARD_PEEK_STARTED event.
The navigator_event_get_card_peek_type() function retrieves the type of peek action that a card stack should perform. The choices are NAVIGATOR_PEEK_ROOT to peek to the bottom root of the card stack or NAVIGATOR_PEEK_PARENT to peek to only the parent of the selected card. Call this function from the card application upon receiving the NAVIGATOR_CARD_PEEK_STARTED event to extract the peek type.
The peek type upon success, BPS_FAILURE with errno set otherwise.