Update docs to contain more specific return values

This commit is contained in:
Samuel Attard 2016-09-28 18:28:44 +13:00 committed by Samuel Attard
parent 5114d571df
commit e0e47ea9a1
11 changed files with 28 additions and 25 deletions

View file

@ -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}`.