nfc_get_ndef_record_tnf()

Get the TNF of an NDEF record.

Synopsis:

#include <nfc/nfc_ndef.h>
 
NFC_API nfc_result_t nfc_get_ndef_record_tnf(const nfc_ndef_record_t *rec, tnf_type_t *tnf)

Since:

BlackBerry 10.0.0

Arguments:

rec

The NDEF record.

tnf

The returned type name format.

Library:

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

Description:

This function returns the type name format associated with the NDEF record.

Returns:

NFC_RESULT_SUCCESS, or NFC_RESULT_INVALID_PARAMETER to indicate an invalid argument.