nfc_set_setting()

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

Synopsis:

#include <nfc/nfc.h>
 
NFC_API nfc_result_t nfc_set_setting(nfc_settings_t setting, bool enable)

Since:

BlackBerry 10.0.0

Arguments:

setting

User setting that is available to the user from the device. Valid settings must be of type nfc_settings_t.

enable

The desired 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 sets the specified value for the specified user setting. It is important to note that restrictions may apply for some user settings; refer to the nfc_settings_t descriptions for more details.

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