Difference between revisions of "GetSocialNotificationsCount"
From LongJump Support Wiki
imported>Aeric |
imported>Aeric |
||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:getSocialNotificationsCount}} | {{DISPLAYTITLE:getSocialNotificationsCount}} | ||
Get a count of current user's notifications. | Get a count of current user's unread notifications. | ||
;Syntax: | ;Syntax: | ||
:<syntaxhighlight lang="java" enclose="div"> | :<syntaxhighlight lang="java" enclose="div"> | ||
int count = Functions.getSocialNotificationsCount(); | |||
</syntaxhighlight> | </syntaxhighlight> | ||
;Returns: | ;Returns: | ||
: | :An integer containing the number of new notification messages. | ||
;Throws: | ;Throws: | ||
:Exception | :Exception |
Revision as of 19:18, 13 December 2011
Get a count of current user's unread notifications.
- Syntax
int count = Functions.getSocialNotificationsCount();
- Returns
- An integer containing the number of new notification messages.
- Throws
- Exception