Retrieve the ID associated with the tag.
#include <nfc/nfc.h>
NFC_API nfc_result_t nfc_get_tag_id(const nfc_target_t *target, uchar_t *id, size_t max_id_length, size_t *id_length)
BlackBerry 10.0.0
The NFC target returned from the nfc_get_target() function.
A pointer to a preallocated buffer to return the identifier.
The length of the preallocated buffer.
The length of the returned ID copied into the id buffer.
This function returns the ID associated with the tag.
NFC_RESULT_SUCCESS, or NFC_RESULT_INVALID_PARAMETER, which indicates that an invalid argument was passed to the function.