---
title: name
framework: deviceactivity
role: symbol
role_heading: Instance Property
path: deviceactivity/deviceactivitydata/device-swift.struct/name
---

# name

Access the name of the device set by the person.

## Declaration

```swift
var name: String?
```

## See Also

### Identifying the device

- [model](deviceactivity/deviceactivitydata/device-swift.struct/model-swift.property.md)
