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