nfc_get_tag_variant()

Retrieve the variant of the tag.

Synopsis:

#include <nfc/nfc.h>
 
NFC_API nfc_result_t nfc_get_tag_variant(const nfc_target_t *target, tag_variant_type_t *variant)

Since:

BlackBerry 10.0.0

Arguments:

target

The NFC target returned from nfc_get_target().

variant

The returned variant associated with the tag; see tag_variant_type_t for a list of possible variants.

Library:

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

Description:

This function returns the variant of the tag.

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