app.setBadgeCount should return boolean

This commit is contained in:
Cheng Zhao 2016-07-01 22:18:39 +09:00
parent f8ec377123
commit 1da2a1c2ae
6 changed files with 24 additions and 11 deletions

View file

@ -582,7 +582,7 @@ This method can only be called before app is ready.
* `count` Integer
Sets the counter badge for current app. Setting the count to `0` will hide the
badge.
badge. Returns `true` when the call succeeded, otherwise returns `false`.
On macOS it shows on the dock icon. On Linux it only works for Unity launcher,