Instance Method

init

Initializes a capture screen input that provides media data from the main screen.

Declaration

- (instancetype)init;

Discussion

Using this initializer is equivalent to calling initWithDisplayID: with the result of the CGMainDisplayID function.

See Also

Initializing a Capture Screen Input

- initWithDisplayID:

Initializes a capture screen input that provides media data from the specified display.

+ new

Creates a capture screen input that provides media data from the main screen.