Class NotificationAPI


  • public class NotificationAPI
    extends BaseAPI
    A notification is an information about an event that occured in Podio. A notification is directed against a single user, and can have a status of either unread or viewed. Notifications have a reference to the action that caused the notification.
    • Constructor Detail

      • NotificationAPI

        public NotificationAPI​(ResourceFactory resourceFactory)
    • Method Detail

      • getInboxNewCount

        public int getInboxNewCount()
        Returns the number of unread notifications
        Returns:
        The number of unread notifications
      • markAsViewed

        public void markAsViewed​(int notificationId)
        Mark the notification as viewed. This will move the notification from the inbox to the viewed archive.
        Parameters:
        notificationId - The id of the notification