---
title: activityID
framework: widgetkit
role: symbol
role_heading: Type Property
path: widgetkit/widgetcenter/userinfokey/activityid
---

# activityID

A key you use to access the activity ID if the widget represents a Live Activity.

## Declaration

```swift
static let activityID: String
```
