---
title: name
framework: homekit
role: symbol
role_heading: Instance Property
path: homekit/hmservice/name
---

# name

The user specified name of the service.

## Declaration

```swift
var name: String { get }
```

## Discussion

Discussion Rename services by calling the updateName(_:completionHandler:) method with a value given by the user.

## See Also

### Identifying the service

- [updateName(_:completionHandler:)](homekit/hmservice/updatename(_:completionhandler:).md)
- [uniqueIdentifier](homekit/hmservice/uniqueidentifier.md)
