nfc_get_setting()

Retrieve one of the NFC user settings that is available from the device.

Synopsis:

#include <nfc/nfc.h>
 
NFC_API nfc_result_t nfc_get_setting(nfc_settings_t setting, bool *enabled)

Since:

BlackBerry 10.0.0

Arguments:

setting

The setting whose value you want to retrieve. Valid settings must be of type nfc_settings_t.

enabled

The current value of the specified user setting.

Library:

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

Description:

This function retrieves the current value for the specified user setting.

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