Retrieve the card width from the card resize event.
#include <bps/navigator.h>
BPS_API int navigator_event_get_card_width(bps_event_t *event)
BlackBerry 10.0.0
The NAVIGATOR_CARD_RESIZE event.
The navigator_event_get_card_width() function retrieves the width of a card that has been targeted by a card resize event. Call this function from the card application upon receiving the NAVIGATOR_CARD_RESIZE event to extract the card's width.
The card width upon success, BPS_FAILURE with errno set otherwise.