CGDisplayStreamEventMBS class

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

CGDisplayStreamEventMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class CoreGraphics MBS MacCG Plugin 16.1 ✅ Yes ❌ No ❌ No ✅ Yes All
CGDisplayStreamEventMBS provides a streaming API for capturing display updates in a realtime manner.

It can also provide scaling and color space conversion services, as well as allow capturing sub regions of the display.
Requires OS X 10.8.

Frame Status

Constant Value Description
StatusFrameBlank 2 As of displayTime, the display is has gone blank
StatusFrameComplete 0 A new frame has been generated by the Window Server for a particular display at time displayTime.
StatusFrameIdle 1 The Window Server did not generate a new frame for displayTime
StatusStopped 3 The display stream has stopped and no more calls will be made to the handler until the stream is started.

This class has no sub classes.

Some examples using this class:


The items on this page are in the following plugins: MBS MacCG Plugin.


CGDisplayReconfigurationEventMBS   -   CGDisplayStreamUpdateMBS


💬 Ask a question or report a problem