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

# uniqueIdentifier

A unique identifier for the service.

## Declaration

```swift
var uniqueIdentifier: UUID { get }
```

## See Also

### Identifying the service

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