---
title: "streamDidBecomeInactive(_:)"
framework: screencapturekit
role: symbol
role_heading: Instance Method
path: "screencapturekit/scstreamdelegate/streamdidbecomeinactive(_:)"
---

# streamDidBecomeInactive(_:)

## Declaration

```swift
optional func streamDidBecomeInactive(_ stream: SCStream)
```

## Parameters

- `stream`: The SCStream object

## Discussion

Discussion streamDidBecomeInactive: notifies the delegate that all the windows that are currently being shared are exited. This callback occurs for all content filter types.
