---
title: microphoneCaptureState
framework: webkit
role: symbol
role_heading: Instance Property
path: webkit/webpage/microphonecapturestate
---

# microphoneCaptureState

Indicates whether the webpage is using the microphone to capture audio.

## Declaration

```swift
@MainActor final var microphoneCaptureState: WKMediaCaptureState { get }
```

## See Also

### Managing the microphone and camera

- [cameraCaptureState](webkit/webpage/cameracapturestate.md)
- [setCameraCaptureState(_:)](webkit/webpage/setcameracapturestate(_:).md)
- [setMicrophoneCaptureState(_:)](webkit/webpage/setmicrophonecapturestate(_:).md)
