Get an NDEF record from an NDEF message.
#include <nfc/nfc_ndef.h>
NFC_API nfc_result_t nfc_get_ndef_record(const nfc_ndef_message_t *msg, unsigned int index, nfc_ndef_record_t **rec)
BlackBerry 10.0.0
The NDEF message retrieved from the NDEF read.
The index of the record required from the NDEF message.
The returned NDEF record.
This function gets an NDEF record found in an NDEF message. Ownership of the memory associated with the returned NDEF record remains with the NDEF message.
NFC_RESULT_SUCCESS, or NFC_RESULT_INVALID_PARAMETER to indicate an invalid argument.