---
title: "init(title:body:sound:)"
framework: activitykit
role: symbol
role_heading: Initializer
path: "activitykit/alertconfiguration/init(title:body:sound:)"
---

# init(title:body:sound:)

Initializes a new alert configuration for a Live Activity update.

## Declaration

```swift
init(title: LocalizedStringResource, body: LocalizedStringResource, sound: AlertConfiguration.AlertSound)
```

## Parameters

- `title`: The short title that describes the purpose of the Live Activity update.
- `body`: The main text of the alert for a Live Activity update.
- `sound`: The sound that the system plays when the alert appears on a person’s device.

## See Also

### Configuring Live Activity alerts

- [title](activitykit/alertconfiguration/title.md)
- [body](activitykit/alertconfiguration/body.md)
- [sound](activitykit/alertconfiguration/sound.md)
- [AlertConfiguration.AlertSound](activitykit/alertconfiguration/alertsound.md)
