nfc_free_event()

Dispose of an NFC event structure.

Synopsis:

#include <nfc/nfc.h>
 
NFC_API nfc_result_t nfc_free_event(nfc_event_t *event)

Since:

BlackBerry 10.0.0

Arguments:

event

The NFC event to be disposed of.

Library:

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

Description:

This function disposes of the nfc_event_t structure after the NFC event has been handled. This function must be called for each nfc_event_t received from the NFC system through nfc_read_event().

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