T - public interface NotificationActivityService<T extends BaseActivity>
BaseActivity.| Modifier and Type | Method and Description |
|---|---|
StreamResponse<NotificationActivity<T>> |
getActivities()
Get a list of activities using the standard filter (limit = 25).
|
StreamResponse<NotificationActivity<T>> |
getActivities(FeedFilter filter,
boolean markAsRead,
boolean markAsSeen)
List notification activities using the given filter.
|
StreamResponse<NotificationActivity<T>> |
getActivities(FeedFilter filter,
MarkedActivity markAsRead,
MarkedActivity markAsSeen)
List notification activities using the given filter.
|
StreamResponse<NotificationActivity<T>> getActivities(FeedFilter filter, MarkedActivity markAsRead, MarkedActivity markAsSeen) throws IOException, StreamClientException
MarkedActivity as read and/or seen.filter - markAsRead - A list of activity ids to be marked as read.markAsSeen - A list of activity ids to be marked as seen.IOExceptionStreamClientExceptionStreamResponse<NotificationActivity<T>> getActivities(FeedFilter filter, boolean markAsRead, boolean markAsSeen) throws IOException, StreamClientException
MarkedActivity as read and/or seen.filter - markAsRead - If true, mark all the activities as read. If false leave them untouched.markAsSeen - If true, mark all the activities as seen. If false leave them untouched.IOExceptionStreamClientExceptionStreamResponse<NotificationActivity<T>> getActivities() throws IOException, StreamClientException
IOExceptionStreamClientExceptionCopyright © 2015. All rights reserved.