---
title: nameOrAddress
framework: IOBluetooth
role: symbol
role_heading: Instance Property
path: iobluetooth/iobluetoothdevice/nameoraddress
---

# nameOrAddress

Get the human readable name of the remote device. If the name is not present, it will return a string containing the device’s address.

## Declaration

```swift
var nameOrAddress: String! { get }
```

## Discussion

Discussion If a remote name request has been successfully completed, the device name will be returned. If not, a string containg the device address in the format of “XX-XX-XX-XX-XX-XX” will be returned.
