nfc_delete_ndef_record()

Delete an NDEF record.

Synopsis:

#include <nfc/nfc_ndef.h>
 
NFC_API nfc_result_t nfc_delete_ndef_record(nfc_ndef_record_t *rec)

Since:

BlackBerry 10.0.0

Arguments:

rec

The NDEF record to delete.

Library:

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

Description:

This function deletes a NDEF record that is no longer required. Do not delete an NDEF record owned by an NDEF message unless you delete all records of that message. Once you have deleted all NDEF records stored in an NDEF message destroy the message by setting the parameter delete_records to false.

Returns:

NFC_RESULT_SUCCESS, or NFC_RESULT_INVALID_PARAMETER to indicate an invalid argument.