nfc_get_event_type()

Retrieve the NFC event type.

Synopsis:

#include <nfc/nfc.h>
 
NFC_API nfc_result_t nfc_get_event_type(nfc_event_t *event, nfc_event_type_t *type)

Since:

BlackBerry 10.0.0

Arguments:

event

The NFC event received through nfc_read_event()

type

The output event type.

Library:

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

Description:

This function retrieves the type from an nfc_event_t structure.

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