nfc_get_notification_value()

Retrieve the associated value from an NFC notification event.

Synopsis:

#include <nfc/nfc.h>
 
NFC_API nfc_result_t nfc_get_notification_value(nfc_event_t *event, unsigned int *event_value)

Since:

BlackBerry 10.0.0

Arguments:

event

The NFC event to get the from.

event_value

The extra value that might be associated with different NFC notification events.

Library:

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

Description:

This function gets a value from the NFC notification event if there is an associated value. Not all event types may have an associated value. Refer to nfc_event_type_t for events which have associated values.

Returns:

NFC_RESULT_SUCCESS, or NFC_RESULT_INVALID_PARAMETER, which indicates that an invalid argument was passed to the function.

Last modified: 2014-05-14



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

comments powered by Disqus