Create an NDEF record.
#include <nfc/nfc_ndef.h>
NFC_API nfc_result_t nfc_create_ndef_record(tnf_type_t tnf, const char *recordtype, const uchar_t *payload, size_t payload_length, const char *id, nfc_ndef_record_t **rec)
BlackBerry 10.0.0
NDEF Type Name Format.
The record or mime type associated with the TNF.
The NDEF record's payload.
The byte length of the payload.
Must be NULL or an empty string for record with tnf NDEF_TNF_UNCHANGED, otherwise optional.
The returned NDEF record. Application must delete this record using nfc_delete_ndef_record() when no longer in use.
This function creates an NDEF record. The parameters passed into this function must be valid according to the NFC Forum "NFC Data Exchange Format (NDEF) Technical Specification".