Difference between revisions of "GetSocialNotificationsCount"
From LongJump Support Wiki
imported>Aeric |
imported>Aeric |
||
(One intermediate revision by the same user not shown) | |||
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 |
Latest revision as of 19:19, 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