navigator_invoke_event_get_list_item_selection()

Get which list item to select from NAVIGATOR_INVOKE_LIST_ITEM_SELECTED events.

Synopsis:

#include <bps/navigator_invoke.h>
 
BPS_API int navigator_invoke_event_get_list_item_selection(bps_event_t *event)

Since:

BlackBerry 10.2.0

Arguments:

event

The NAVIGATOR_INVOKE_LIST_ITEM_SELECTED event.

Library:

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

Description:

The navigator_invoke_event_get_list_item_selection() function returns which list item to select.

Returns:

The navigator_invoke_list_cursor_direction_t of the list item to select upon success, BPS_FAILURE with errno set otherwise.