nfc_get_property()

Retrieve the NFC properties of the device.

Synopsis:

#include <nfc/nfc.h>
 
NFC_API nfc_result_t nfc_get_property(nfc_property_id_t property_id, int *property)

Since:

BlackBerry 10.3.0

Arguments:

property_id

The ID of the property to be queried.

property

The location to store the value of the property retrieved. If the device doesn't support this property, this parameter is set to 0. If the property is supported, this parameter is set to a positive integer. If property_id is not defined, this function returns NFC_RESULT_INVALID_PARAMETER and leaves property untouched.

Library:

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

Description:

This function allows an application to retrieve the NFC properties of the device.

Returns:

NFC_RESULT_SUCCESS, or one of the following:

Last modified: 2014-05-14



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

comments powered by Disqus