nfc_get_rtd_uri()

Return the fully qualified URI string from an uri NDEF record.

Synopsis:

#include <nfc/nfc_ndef.h>
 
NFC_API nfc_result_t nfc_get_rtd_uri(const nfc_ndef_record_t *rec, char **utf8_uri)

Since:

BlackBerry 10.0.0

Arguments:

rec

The URI NDEF record. Chunked NDEF records are not supported.

utf8_uri

The returned allocated null-terminated fully qualified uri in UTF-8. This string must be de-allocated by calling the free() function.

Library:

libnfc (For the qcc command, use the -l nfc option to link against this library)

Description:

This function returns the fully qualified URI string from an uri NDEF record.

Returns:

NFC_RESULT_SUCCESS, or one of the following: