nfc_create_ndef_message()

Create an empty NDEF message.

Synopsis:

#include <nfc/nfc_ndef.h>
 
NFC_API nfc_result_t nfc_create_ndef_message(nfc_ndef_message_t **msg)

Since:

BlackBerry 10.0.0

Arguments:

msg

The created NDEF message.

Library:

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

Description:

This function creates an empty NDEF message.

Returns:

NFC_RESULT_SUCCESS, or NFC_RESULT_INVALID_PARAMETER to indicate an invalid argument.