nfc_tag_is_writable()

Indicate whether or not the specified tag is writable.

Synopsis:

#include <nfc/nfc.h>
 
NFC_API nfc_result_t nfc_tag_is_writable(const nfc_target_t *tag, bool *is_writable)

Since:

BlackBerry 10.0.0

Arguments:

tag

The tag returned from the nfc_get_target() function.

is_writable

true if the specified tag is writable, otherwise false.

Library:

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

Description:

This function indicates whether or not the tag is writable.

Returns:

NFC_RESULT_SUCCESS, or NFC_RESULT_INVALID_PARAMETER, which indicates that an invalid argument was passed to the function.

Last modified: 2014-05-14



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus