Register for notification of a successful NFC handover.
#include <nfc/nfc.h>
NFC_API nfc_result_t nfc_register_handover_listener(handover_transport_type_t type)
BlackBerry 10.0.0
The transport type used to complete the NFC handover.
This function registers a caller to be updated when an NFC handover has occurred. On successful detection, a call to the nfc_get_event_type() function returns NFC_HANDOVER_DETECTED_EVENT.
Initial calls to this function register the specified type as the preferred transport type with the highest priority. Subsequent calls with new transport types register the supplied transport types with lower priority. Calls to this function with already registered transport types have no effect.