nfc_confirm_handover_process()

Confirm whether the platform should continue the handover process.

Synopsis:

#include <nfc/nfc.h>
 
NFC_API nfc_result_t nfc_confirm_handover_process(nfc_target_t *target, bool completeHandoverProcess)

Since:

BlackBerry 10.0.0

Arguments:

target

The NFC target returned from the nfc_get_target() function.

completeHandoverProcess

true to indicate to the platform to continue the handover negotiation, otherwise false to indicate to the platform to abort the handover negotiation because the application has nothing to share.

Library:

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

Description:

This function instructs whether the platform should continue the handover negotiation with the detected remote device. The application must react quickly when the NFC_HANDOVER_DETECTED_EVENT event is received. When an application has data to share after the handover, it must invoke this function with a value of true.

Returns:

NFC_RESULT_SUCCESS, or one of the following values:

Last modified: 2014-05-14



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

comments powered by Disqus