notification_event_get_item_id()

Get the item_id of the notification message structure that the response refers to.

Synopsis:

#include <bps/notification.h>
 
BPS_API const char* notification_event_get_item_id(bps_event_t *event)

Since:

BlackBerry 10.0.0

Arguments:

event

The event to get the item ID from.

Library:

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

Description:

The notification_event_get_item_id() function retrieves the item ID of a notification_message_t structure referred to by a response event. The response is present only for NOTIFICATION_CHOICE response events that refer to a previous message which had an item ID. Otherwise, NULL is returned.

Returns:

The item ID, otherwise a NULL value.

Last modified: 2014-05-14



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus