---
title: CGDisplayStream
framework: coregraphics
role: symbol
role_heading: Class
path: coregraphics/cgdisplaystream
---

# CGDisplayStream

A reference to a display stream object.

## Declaration

```swift
class CGDisplayStream
```

## Overview

Overview This data type streams the contents of a display to your app. The contents can be scaled or converted to a different color space. You can also choose to capture only a portion of a display. Your update handler can be called either from a traditionalCFRunLoop or on a dispatch queue.

## Topics

### Type Properties

- [yCbCrMatrix_ITU_R_601_4](coregraphics/cgdisplaystream/ycbcrmatrix_itu_r_601_4.md)
- [yCbCrMatrix_ITU_R_709_2](coregraphics/cgdisplaystream/ycbcrmatrix_itu_r_709_2.md)
- [yCbCrMatrix_SMPTE_240M_1995](coregraphics/cgdisplaystream/ycbcrmatrix_smpte_240m_1995.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)

## See Also

### Data Types

- [CGButtonCount](coregraphics/cgbuttoncount.md)
- [CGCharCode](coregraphics/cgcharcode.md)
- [CGDirectDisplayID](coregraphics/cgdirectdisplayid.md)
- [CGDisplayBlendFraction](coregraphics/cgdisplayblendfraction.md)
- [CGDisplayConfigRef](coregraphics/cgdisplayconfigref.md)
- [CGDisplayCount](coregraphics/cgdisplaycount.md)
- [CGDisplayErr](coregraphics/cgdisplayerr.md)
- [CGDisplayFadeInterval](coregraphics/cgdisplayfadeinterval.md)
- [CGDisplayFadeReservationToken](coregraphics/cgdisplayfadereservationtoken.md)
- [CGDisplayMode](coregraphics/cgdisplaymode.md)
- [CGDisplayReconfigurationCallBack](coregraphics/cgdisplayreconfigurationcallback.md)
- [CGDisplayReservationInterval](coregraphics/cgdisplayreservationinterval.md)
- [CGDisplayStreamFrameAvailableHandler](coregraphics/cgdisplaystreamframeavailablehandler.md)
- [CGDisplayStreamUpdate](coregraphics/cgdisplaystreamupdate.md)
- [CGEvent](coregraphics/cgevent.md)
