---
title: id
framework: wifiaware
role: symbol
role_heading: Instance Property
path: wifiaware/wapublishableservice/id-swift.property
---

# id

A stable ID that can be used to identify this publishable service.

## Declaration

```swift
var id: WAPublishableService.ID { get }
```

## Discussion

Discussion The ID is stable for a given unique service name.

## See Also

### Checking a service name and ID

- [WAPublishableService.ID](wifiaware/wapublishableservice/id-swift.typealias.md)
- [name](wifiaware/wapublishableservice/name.md)
