Update docs to contain more specific return values
This commit is contained in:
parent
5114d571df
commit
e0e47ea9a1
11 changed files with 28 additions and 25 deletions
|
@ -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}`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue