nfc_read_event()

Receive NFC events.

Synopsis:

#include <nfc/nfc.h>
 
NFC_API nfc_result_t nfc_read_event(int fd, nfc_event_t **event)

Since:

BlackBerry 10.0.0

Arguments:

fd

The file descriptor retrieved using the nfc_get_fd() function call.

event

The output NFC event. The event shall be disposed through the nfc_free_event() function only when this function returns NFC_RESULT_SUCCESS.

Library:

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

Description:

This function receives the nfc_event_t from the NFC system.

Returns:

NFC_RESULT_SUCCESS, or one of the following:

Last modified: 2014-05-14



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

comments powered by Disqus