com_gsma_services_nfc_get_property()

Retrieve the GSMA properties of the device.

Synopsis:

#include <nfc/nfc_gsma.h>
 
NFC_API nfc_result_t com_gsma_services_nfc_get_property(gsma_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 provides device properties that can be requested from GSMA.

Returns:

NFC_RESULT_SUCCESS, or one of the following: