Set the mandatory smart poster URI record in a smart poster NDEF record.
#include <nfc/nfc_ndef.h>
NFC_API nfc_result_t nfc_set_sp_uri(nfc_ndef_record_t *sp_rec, const char *utf8_uri)
BlackBerry 10.0.0
The smart poster NDEF record to add the URI record to its payload. Chunked NDEF records are not supported.
The null-terminated fully qualified URI in UTF-8.
This function sets the data associated with a URI record inside the smart poster NDEF record payload. Without a URI record, a smart poster record is considered invalid. This function must not be called more than once on the same NDEF record.
NFC_RESULT_SUCCESS, otherwise NFC_RESULT_INVALID_PARAMETER to indicate that a parameter is invalid, or that the provided NDEF record is chunked.