Determine whether the connection handover target is a static handover detection or dynamic handover between two devices.
#include <nfc/nfc.h>
NFC_API nfc_result_t nfc_is_static_handover(nfc_target_t *target, bool *isStatic)
BlackBerry 10.2.0
The NFC target returned from the nfc_get_target() function.
The returned value. If true, the handover target is an NFC tag; otherwise, the handover target is a device that supports NFC connection handover.
This function returns information that indicates whether a handover target is detected from an NFC tag or a remote device target. The retrieval of the information is dependent on the successful completion of the connection handover. Therefore, the application must wait for the NFC_HANDOVER_COMPLETE_EVENT before using this function.
NFC_RESULT_SUCCESS, or NFC_RESULT_INVALID_PARAMETER, which indicates that an invalid argument was passed to the function.