---
title: cameraCaptureState
framework: webkit
role: symbol
role_heading: Instance Property
path: webkit/wkwebview/cameracapturestate
---

# cameraCaptureState

An enumeration case that indicates whether the webpage is using the camera to capture images or video.

## Declaration

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

## See Also

### Managing the microphone and camera

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