<!--
{
  "availability" : [
    "iOS: 16.2.0 -",
    "iPadOS: 16.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ActivityKit",
  "identifier" : "/documentation/ActivityKit/ActivityContent",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "ActivityKit"
    ],
    "preciseIdentifier" : "s:11ActivityKit0A7ContentV"
  },
  "title" : "ActivityContent"
}
-->

# ActivityContent

A structure that describes the state and configuration of a Live Activity.

```
struct ActivityContent<State> where State : Decodable, State : Encodable, State : Hashable
```

## Topics

### Describing a Live Activity

[`init(state:staleDate:relevanceScore:)`](/documentation/ActivityKit/ActivityContent/init(state:staleDate:relevanceScore:))

Creates the object that describes the state and configuration of a Live Activity.

[`state`](/documentation/ActivityKit/ActivityContent/state)

The current state of a Live Activity in its life cycle.

[`staleDate`](/documentation/ActivityKit/ActivityContent/staleDate)

The date when the system considers the Live Activity to be
out of date.

[`relevanceScore`](/documentation/ActivityKit/ActivityContent/relevanceScore)

A score you assign that determines the order in which your Live Activities
appear when you start several Live Activities for your app.

## Relationships

### Conforms To

[`Escapable`](/documentation/Swift/Escapable)

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Copyable`](/documentation/Swift/Copyable)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)