getSocialNotificationsCount

From LongJump Support Wiki

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