---
title: "init(_:)"
framework: usernotifications
role: symbol
role_heading: Initializer
path: "usernotifications/unnotificationsoundname/init(_:)"
---

# init(_:)

Creates a notification sound name using the string parameter.

## Declaration

```swift
init(_ rawValue: String)
```

## Parameters

- `rawValue`: A string containing the name of the sound.

## See Also

### Initializers

- [init(rawValue:)](usernotifications/unnotificationsoundname/init(rawvalue:).md)
