Add a smart poster title record to a smart poster NDEF record.
#include <nfc/nfc_ndef.h>
NFC_API nfc_result_t nfc_add_sp_title(nfc_ndef_record_t *sp_rec, const char *lang, const char *utf8_string)
BlackBerry 10.0.0
The smart poster NDEF record to add the title record to its payload. Chunked NDEF records are not supported.
The ISO/IANA language code of the title string. If the selected language has already been added to the payload, then function returns NFC_RESULT_INVALID_PARAMETER.
The null-terminated title string in UTF-8.
This function adds the data associated with a title record to a smart poster NDEF record payload.
NFC_RESULT_SUCCESS, otherwise NFC_RESULT_INVALID_PARAMETER to indicate that a parameter is invalid, or that the provided NDEF record is chunked.