---
title: sound
framework: accessorynotifications
role: symbol
role_heading: Instance Property
path: accessorynotifications/alertingcontext/sound-swift.property
---

# sound

An optional sound configuration for the notification.

## Declaration

```swift
var sound: AlertingContext.Sound? { get }
```

## Discussion

Discussion A value of nil indicates the notification has no sound. Use the AlertingContext.Sound properties to determine sound characteristics.

## See Also

### Configuring notification sound

- [AlertingContext.Sound](accessorynotifications/alertingcontext/sound-swift.struct.md)
