PerxObject ↳ PerxNotification ↳ PerxObjectList ↳ PerxNotificationList
Lookup Messages and Notifications and manage the user's Inbox
lookupById(<id>)
Set the notification id and lookup the message from the server
lookupById()
Lookup the message by its id
lookupAll()
Read the user's messaging and notification inbox
markAsRead()
Mark the notification as read
markAsUnread()
Mark the notification as unread
markAllAsRead()
Mark all notifications in the inbox as read
markAllAsUnread()
Mark all notifications in the inbox as unread
Android
PerxNotificationList list = new PerxNotificationList().lookupAll(); PerxNotification notification = list.first(); notification.markAsRead(); notification.markAsUnread(); list.markAllAsRead(); list.markAllAsUnread();
Swift
let list = PerxNotificationList().lookupAll() let notification = list.first notification.markAsRead() notification.markAsUnread() list.markAllAsRead() list.markAllAsUnread()
Comments
0 comments
Please sign in to leave a comment.