<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "BrowserEngineKit",
  "identifier" : "/documentation/BrowserEngineKit/BEProcessCapability-7av05/screenCaptureWithEnvironment:",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "BrowserEngineKit"
    ],
    "preciseIdentifier" : "c:objc(cs)BEProcessCapability(cm)screenCaptureWithEnvironment:"
  },
  "title" : "screenCaptureWithEnvironment:"
}
-->

# screenCaptureWithEnvironment:

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

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

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)