---
title: AlarmPresentationState
framework: alarmkit
role: symbol
role_heading: Structure
path: alarmkit/alarmpresentationstate
---

# AlarmPresentationState

The system managed content state of an alarm Live Activity.

## Declaration

```swift
struct AlarmPresentationState
```

## Overview

Overview A Live Activity consists of two components: static attributes and dynamic content. Using a sports game as an example, the static attributes represent the team names, while the dynamic content represents the current score that updates throughout the game. For alarms, these components serve distinct purposes: Static attributes: Your app provides this content through AlarmAttributes, including information such as tint color and button labels that remain constant. Dynamic content: AlarmKit provides this content through AlarmPresentationState, including system-managed information such as the alarm fireDate and current presentation mode. The system automatically updates the AlarmPresentationState as the alarm transitions between different states, such as Alarm.State.countdown, Alarm.State.alerting, and Alarm.State.paused.

## Topics

### Creating an alarm state

- [init(alarmID:mode:)](alarmkit/alarmpresentationstate/init(alarmid:mode:).md)
- [alarmID](alarmkit/alarmpresentationstate/alarmid.md)
- [mode](alarmkit/alarmpresentationstate/mode-swift.property.md)
- [AlarmPresentationState.Mode](alarmkit/alarmpresentationstate/mode-swift.enum.md)

## Relationships

### Conforms To

- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Views

- [AlarmPresentation](alarmkit/alarmpresentation.md)
- [AlarmAttributes](alarmkit/alarmattributes.md)
- [AlarmMetadata](alarmkit/alarmmetadata.md)
