---
title: SCContentFilter
framework: screencapturekit
role: symbol
role_heading: Class
path: screencapturekit/sccontentfilter
---

# SCContentFilter

An instance that filters the content a stream captures.

## Declaration

```swift
class SCContentFilter
```

## Overview

Overview Use a content filter to limit an SCStream object’s output to only that matching your filter criteria. Retrieve the displays, apps, and windows that your app can capture from an instance of SCShareableContent.

## Topics

### Creating a filter

- [init(desktopIndependentWindow:)](screencapturekit/sccontentfilter/init(desktopindependentwindow:).md)
- [init(display:including:)](screencapturekit/sccontentfilter/init(display:including:).md)
- [init(display:excludingWindows:)](screencapturekit/sccontentfilter/init(display:excludingwindows:).md)
- [init(display:including:exceptingWindows:)](screencapturekit/sccontentfilter/init(display:including:exceptingwindows:).md)
- [init(display:excludingApplications:exceptingWindows:)](screencapturekit/sccontentfilter/init(display:excludingapplications:exceptingwindows:).md)

### Filter properties

- [contentRect](screencapturekit/sccontentfilter/contentrect.md)
- [pointPixelScale](screencapturekit/sccontentfilter/pointpixelscale.md)
- [streamType](screencapturekit/sccontentfilter/streamtype.md)
- [SCStreamType](screencapturekit/scstreamtype.md)
- [style](screencapturekit/sccontentfilter/style.md)

### Initializers

- [init(display:includingApplications:exceptingWindows:)](screencapturekit/sccontentfilter/init(display:includingapplications:exceptingwindows:).md)
- [init(display:includingWindows:)](screencapturekit/sccontentfilter/init(display:includingwindows:).md)

### Instance Properties

- [includeMenuBar](screencapturekit/sccontentfilter/includemenubar.md)
- [includedApplications](screencapturekit/sccontentfilter/includedapplications.md)
- [includedDisplays](screencapturekit/sccontentfilter/includeddisplays.md)
- [includedWindows](screencapturekit/sccontentfilter/includedwindows.md)
- [isCameraEnabled](screencapturekit/sccontentfilter/iscameraenabled.md)
- [isMicrophoneEnabled](screencapturekit/sccontentfilter/ismicrophoneenabled.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Content capture

- [SCStream](screencapturekit/scstream.md)
- [SCStreamConfiguration](screencapturekit/scstreamconfiguration.md)
- [SCStreamDelegate](screencapturekit/scstreamdelegate.md)
- [SCScreenshotManager](screencapturekit/scscreenshotmanager.md)
- [SCScreenshotConfiguration](screencapturekit/scscreenshotconfiguration.md)
- [SCScreenshotOutput](screencapturekit/scscreenshotoutput.md)
