Retrieve the type of the peek action initiated on this card.
#include <bps/navigator.h>
BPS_API int navigator_event_get_peek_type(bps_event_t *event)
BlackBerry 10.0.0
The NAVIGATOR_PEEK_STARTED event.
The navigator_event_get_peek_type() function retrieves the type of peek action intiated on this card's stack. 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_PEEK_STARTED event to extract the peek type.
The peek type upon success, BPS_FAILURE with errno set otherwise.