document missing method parameters

This commit is contained in:
Zeke Sikelianos 2016-08-25 10:52:19 -07:00
parent 97a004a357
commit 28d42ba35b
7 changed files with 64 additions and 31 deletions

View file

@ -62,11 +62,16 @@ Removes the subscriber with `id`.
### `systemPreferences.subscribeLocalNotification(event, callback)` _macOS_
* `event` String
* `callback` Function
Same as `subscribeNotification`, but uses `NSNotificationCenter` for local defaults.
This is necessary for events such as `NSUserDefaultsDidChangeNotification`
### `systemPreferences.unsubscribeLocalNotification(id)` _macOS_
* `id` Integer
Same as `unsubscribeNotification`, but removes the subscriber from `NSNotificationCenter`.
### `systemPreferences.getUserDefault(key, type)` _macOS_