A string providing the name of a sound file.
SDKs
- iOS 12.0+
- macOS 10.14+
- Mac Catalyst 13.0+
- tvOS 12.0+
- watchOS 5.0+
Framework
- User
Notifications
Declaration
struct UNNotificationSoundName
A string providing the name of a sound file.
SDKs
Framework
struct UNNotificationSoundName
init(String)
Creates a notification sound name from the provided string.
init(raw Value: String)
Creates a notification sound name from the provided string.
class UNMutable Notification Content
The editable content for a notification.
class UNNotification Content
The uneditable content of a notification.
class UNNotification Attachment
A media file associated with a notification.
class UNNotification Sound
The sound played upon delivery of a notification.