private String getDeviceName(final ScanResult result) {
        if (result.getScanRecord() != null)
            return result.getScanRecord().getDeviceName();
        return "Unknown";
    }
Returns the device name from a scan record

@param result ScanResult
@return Device name found in the scan record or unknown
app/src/main/java/no/nordicsemi/android/nrfmesh/viewmodels/ScannerLiveData.java