Retrieve the number of NDEF messages found after an NDEF read.
#include <nfc/nfc.h>
NFC_API nfc_result_t nfc_get_ndef_message_count(const nfc_target_t *target, unsigned int *count)
BlackBerry 10.0.0
The NFC target returned from the nfc_get_target() function.
The returned number of NDEF messages found, corresponding to the NDEF types specified.
This function retrieves the number of NDEF messages found after a successful NDEF read.
NFC_RESULT_SUCCESS, or NFC_RESULT_INVALID_PARAMETER, which indicates that an invalid argument was passed to the function.