---
title: "screenCaptureWithEnvironment:"
framework: browserenginekit
role: symbol
role_heading: Type Method
path: "browserenginekit/beprocesscapability-7av05/screencapturewithenvironment:"
---

# screenCaptureWithEnvironment:

The helper extension process may capture the contents of the screen.

## Declaration

```occ
+ (instancetype) screenCaptureWithEnvironment:(BEMediaEnvironment *) environment;
```
