---
title: AVAudioSession.SetActiveOptions
framework: avfaudio
role: symbol
role_heading: Structure
path: avfaudio/avaudiosession/setactiveoptions
---

# AVAudioSession.SetActiveOptions

Options that provide additional information about your app’s audio intentions upon session deactivation.

## Declaration

```swift
struct SetActiveOptions
```

## Overview

Overview Use this option to request that the system notify an interrupted app that the interruption has ended and it may resume playback. This option is only valid on session deactivation.

## Topics

### Creating an Activation Option

- [init(rawValue:)](avfaudio/avaudiosession/setactiveoptions/init(rawvalue:).md)

### Getting Standard  Options

- [notifyOthersOnDeactivation](avfaudio/avaudiosession/setactiveoptions/notifyothersondeactivation.md)
- [AVAudioSessionSetActiveFlags_NotifyOthersOnDeactivation](avfaudio/avaudiosessionsetactiveflags_notifyothersondeactivation.md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [ExpressibleByArrayLiteral](swift/expressiblebyarrayliteral.md)
- [OptionSet](swift/optionset.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [SetAlgebra](swift/setalgebra.md)
