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

# cameraCaptureState

Indicates whether the webpage is using the camera to capture images or video.

## Declaration

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

## See Also

### Managing the microphone and camera

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