notification_event_get_request_id()

Get the request_id of an event.

Synopsis:

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

Since:

BlackBerry 10.0.0

Arguments:

event

The event to get the request ID from.

Library:

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

Description:

The notification_event_get_request_id() function retrieves the request ID of an event. This is valid for NOTIFICATION_OK and NOTIFICATION_ERROR messages, but not NOTIFICATION_CHOICE messages, since those have Item IDs.

Returns:

The request ID of the message that this event is a response to, 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