Platforms to show: All Mac Windows Linux Cross-Platform

CGDisplayStreamEventMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class CoreGraphics MBS MacCG Plugin 16.1 Yes No No Yes, macOS only No
Function: 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.

Feedback, Comments & Corrections

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 which use this class:

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

CGDisplayReconfigurationEventMBS   -   CGDisplayStreamUpdateMBS

The biggest plugin in space...

MBS Xojo blog