Header menu logo fable-electron-docs-api

Options Type

Constructors

Constructor Description

Options(types, ?thumbnailSize, ?fetchWindowIcons)

Full Usage: Options(types, ?thumbnailSize, ?fetchWindowIcons)

Parameters:
    types : Types[] - An array of strings that lists the types of desktop sources to be captured, available types can be screen and window.
    ?thumbnailSize : Size - The size that the media source thumbnail should be scaled to. Default is 150 x 150. Set width or height to 0 when you do not need the thumbnails. This will save the processing time required for capturing the content of each window and screen.
    ?fetchWindowIcons : bool - Set to true to enable fetching window icons. The default value is false. When false the appIcon property of the sources return null. Same if a source has the type screen.

Returns: Options
types : Types[]

An array of strings that lists the types of desktop sources to be captured, available types can be screen and window.

?thumbnailSize : Size

The size that the media source thumbnail should be scaled to. Default is 150 x 150. Set width or height to 0 when you do not need the thumbnails. This will save the processing time required for capturing the content of each window and screen.

?fetchWindowIcons : bool

Set to true to enable fetching window icons. The default value is false. When false the appIcon property of the sources return null. Same if a source has the type screen.

Returns: Options

Instance members

Instance member Description

this.fetchWindowIcons

Full Usage: this.fetchWindowIcons

Set to true to enable fetching window icons. The default value is false. When false the appIcon property of the sources return null. Same if a source has the type screen.

this.thumbnailSize

Full Usage: this.thumbnailSize

The size that the media source thumbnail should be scaled to. Default is 150 x 150. Set width or height to 0 when you do not need the thumbnails. This will save the processing time required for capturing the content of each window and screen.

this.types

Full Usage: this.types

An array of strings that lists the types of desktop sources to be captured, available types can be screen and window.

Type something to start searching.