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

# microphoneCaptureState

An enumeration case that indicates whether the webpage is using the microphone to capture audio.

## Declaration

```swift
var microphoneCaptureState: WKMediaCaptureState { get }
```

## See Also

### Managing the microphone and camera

- [cameraCaptureState](webkit/wkwebview/cameracapturestate.md)
- [setCameraCaptureState(_:completionHandler:)](webkit/wkwebview/setcameracapturestate(_:completionhandler:).md)
- [setMicrophoneCaptureState(_:completionHandler:)](webkit/wkwebview/setmicrophonecapturestate(_:completionhandler:).md)
- [WKMediaCaptureState](webkit/wkmediacapturestate.md)
