Options Type
Constructors
| Constructor |
Description
|
Full Usage:
Options(types, ?thumbnailSize, ?fetchWindowIcons)
Parameters:
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
|
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. |
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. |
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. |
fable-electron-docs-api