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

# init(rawValue:)

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(_:)](usernotifications/unnotificationsoundname/init(_:).md)
