nfc_confirm_handover_process_with_transports()

Tell the platform to continue the handover process with the new list of transport types.

Synopsis:

#include <nfc/nfc.h>
 
NFC_API nfc_result_t nfc_confirm_handover_process_with_transports(nfc_target_t *target, handover_transport_type_t *transports, unsigned int no_of_transports)

Since:

BlackBerry 10.2.0

Arguments:

target

The NFC target returned from the nfc_get_target() function.

transports

the address of the array of handover transport types.

no_of_transports

the length of the array of handover transport types.

Library:

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

Description:

This function instructs the platform to continue the handover negotiation with the detected remote device. The handover negotiation will use the list of handover transport types that are passed in.

Similar to the function nfc_confirm_handover_process(), an application must react quickly by calling this function when the NFC_HANDOVER_DETECTED_EVENT event is received.

Successful completion of this function will change the handover transport types and preference that were registered by the previous calls to nfc_register_handover_listener().

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