Create a NFC Forum Media type NDEF record.
#include <nfc/nfc_ndef.h>
NFC_API nfc_result_t nfc_create_media_type_record(const char *mime_type, const uchar_t *payload, size_t payload_len, nfc_ndef_record_t **rec)
BlackBerry 10.0.0
The MIME-type of the payload.
Binary content of the data. The content is set as the NDEF record's payload.
The length (in bytes) of the payload.
The returned media type NDEF record.
This function creates an NFC Forum Media type NDEF record.
NFC_RESULT_SUCCESS, or NFC_RESULT_INVALID_PARAMETER to indicate that a parameter is invalid.