nfc_get_handover_transport_type()

Return the handover transport type from a connection handover carrier NDEF record.

Synopsis:

#include <nfc/nfc_ndef.h>
 
NFC_API nfc_result_t nfc_get_handover_transport_type(const nfc_ndef_record_t *rec, handover_transport_type_t *transport)

Since:

BlackBerry 10.0.0

Arguments:

rec

The connection handover carrier NDEF record.

transport

The returned connection handover transport type in handover_transport_type_t.

Library:

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

Description:

This function returns the transport type from a connection handover carrier NDEF record.

Returns:

NFC_RESULT_SUCCESS, otherwise NFC_RESULT_INVALID_PARAMETER to indicate that a parameter is invalid, or that the provided NDEF record is chunked.