Difference between revisions of "GetSocialNotificationsCount"
From LongJump Support Wiki
imported>Aeric (Created page with "{{subst: Java API}}") |
imported>Aeric |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE: | {{DISPLAYTITLE:getSocialNotificationsCount}} | ||
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. | |||
:An integer containing | |||
;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