---
title: activeMicrophoneMode
framework: avfoundation
role: symbol
role_heading: Type Property
path: avfoundation/avcapturedevice/activemicrophonemode
---

# activeMicrophoneMode

The device’s active microphone mode.

## Declaration

```swift
class var activeMicrophoneMode: AVCaptureDevice.MicrophoneMode { get }
```

## Discussion

Discussion The value may differ from the value of the preferredMicrophoneMode property if the app’s active audio route doesn’t support the mode. This property is key-value observable.

## See Also

### Inspecting the microphone mode

- [preferredMicrophoneMode](avfoundation/avcapturedevice/preferredmicrophonemode.md)
- [AVCaptureDevice.MicrophoneMode](avfoundation/avcapturedevice/microphonemode.md)
