Set the ID of a query.
#include <bps/navigator_invoke.h>
BPS_API int navigator_invoke_query_set_id(navigator_invoke_query_t *query,
const char *id)
BlackBerry 10.0.0
A pointer to the navigator_invoke_query_t structure whose id you want to set.
The invocation query ID you want to display on the delivery receipt response. This value must be in numerical format. For example, a valid id would be "42".
The navigator_invoke_query_set_id() function sets the invocation query ID of a given navigator_invoke_query_t structure. Assign an id member to an invocation query to receive a delivery receipt response. The id member you assign through a sender appears in its corresponding delivery receipt.
Assigning an id member to an invocation is mandatory. If you don't assign an id, there is no way to determine the result of the invocation query request.
BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.