---
title: promptStyle
framework: avfaudio
role: symbol
role_heading: Instance Property
path: avfaudio/avaudiosession/promptstyle-swift.property
---

# promptStyle

A hint to audio sessions that use voice prompt mode to alter the type of prompts they issue in response to other system audio, such as Siri and phone calls.

## Declaration

```swift
var promptStyle: AVAudioSession.PromptStyle { get }
```

## Discussion

Discussion Apps that issue voice prompts should observe changes in the prompt style and modify their prompts in response. This property is key-value observable.

## See Also

### Inspecting the audio prompt style

- [AVAudioSession.PromptStyle](avfaudio/avaudiosession/promptstyle-swift.enum.md)
