---
title: "named(_:)"
framework: activitykit
role: symbol
role_heading: Type Method
path: "activitykit/alertconfiguration/alertsound/named(_:)"
---

# named(_:)

A function you use to configure a custom sound for a Live Activity update alert.

## Declaration

```swift
static func named(_ name: String) -> AlertConfiguration.AlertSound
```

## Parameters

- `name`: The name of the sound file to use for the alert. Choose a file that’s in your app’s main bundle or the Library/Sounds folder of your app’s data container.

## See Also

### Configuring the alert sound

- [default](activitykit/alertconfiguration/alertsound/default.md)
