Add docs for getShouldUpload

This commit is contained in:
Samuel Attard 2016-11-08 11:12:46 +11:00 committed by Kevin Sawicki
parent 7b8eb3e09c
commit 6bbd92368f

View file

@ -70,6 +70,11 @@ Returns [`CrashReport[]`](structures/crash-report.md):
Returns all uploaded crash reports. Each report contains the date and uploaded
ID.
### `crashReporter.getShouldUpload()`
Returns `Boolean` - Whether reports should be submitted to the server. Set through
the `start` method or `setShouldUpload`.
### `crashReporter.setShouldUpload(shouldUpload)`
* `shouldUpload` Boolean _macOS_ - Whether reports should be submitted to the server