Return the device type from a Wi-Fi Direct carrier NDEF record.
#include <nfc/nfc_ndef.h>
NFC_API nfc_result_t nfc_get_handover_wifi_direct_device_type(const nfc_ndef_record_t *rec, char **device_type)
BlackBerry 10.2.0
The Wi-Fi Direct carrier NDEF record. Chunked NDEF records are not supported.
The returned Wi-Fi Direct device type. The device type can be a string, an empty string (if the device type defined in the record has a length of 0), or a NULL pointer (if no device type is defined in the record). Free the memory that is allocated for this string by calling the free() function.
This function returns the device type from a Wi-Fi Direct carrier NDEF record.