notification_event_get_context()

Get the context argument of a choice response.

Synopsis:

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

Since:

BlackBerry 10.0.0

Arguments:

event

The event to get the context argument from.

Library:

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

Description:

The notification_event_get_context() function retrieves the context argument of a choice response event. The context is present only when event refers to a NOTIFICATION_CHOICE response and the prompt originally contained a context argument. Otherwise, NULL is returned.

Returns:

The context argument of the choice response, 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