---
title: "contentSharingPicker(_:didUpdateWith:for:)"
framework: screencapturekit
role: symbol
role_heading: Instance Method
path: "screencapturekit/sccontentsharingpickerobserver/contentsharingpicker(_:didupdatewith:for:)"
---

# contentSharingPicker(_:didUpdateWith:for:)

Tells the observer that a sharing picker updated the content filter for a stream.

## Declaration

```swift
func contentSharingPicker(_ picker: SCContentSharingPicker, didUpdateWith filter: SCContentFilter, for stream: SCStream?)
```

## Parameters

- `picker`: The content-sharing picker that sent this event.
- `filter`: The new filter applied to streaming content.
- `stream`: The changed stream, if any.

## See Also

### Observing events

- [contentSharingPicker(_:didCancelFor:)](screencapturekit/sccontentsharingpickerobserver/contentsharingpicker(_:didcancelfor:).md)
