dialog_event_get_popuplist_selected_indices()

Get the array of selected indices from a DIALOG_RESPONSE event.

Synopsis:

#include <bps/dialog.h>
 
BPS_API int dialog_event_get_popuplist_selected_indices(bps_event_t *event,
                                                        int **selected_indices,
                                                        int *num_indices)

Since:

BlackBerry 10.0.0

Arguments:

event

The DIALOG_RESPONSE event to get the array of selected indices from.

selected_indices

The selected indices. When the memory holding these values is no longer needed, use bps_free() to free the memory.

num_indices

The number of indices in the output array.

Library:

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

Description:

The dialog_event_get_popuplist_selected_indices() function gets the array of selected indices from the specified DIALOG_RESPONSE event.

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.