mirror of
https://github.com/electron/electron.git
synced 2026-01-08 23:18:06 -05:00
Update docs to contain more specific return values
This commit is contained in:
committed by
Samuel Attard
parent
5114d571df
commit
e0e47ea9a1
@@ -56,7 +56,7 @@ The `desktopCapturer` module has the following methods:
|
||||
### `desktopCapturer.getSources(options, callback)`
|
||||
|
||||
* `options` Object
|
||||
* `types` Array - An array of String that lists the types of desktop sources
|
||||
* `types` String[] - An array of Strings that lists the types of desktop sources
|
||||
to be captured, available types are `screen` and `window`.
|
||||
* `thumbnailSize` Object (optional) - The suggested size that the media source
|
||||
thumbnail should be scaled to, defaults to `{width: 150, height: 150}`.
|
||||
|
||||
Reference in New Issue
Block a user