T - Subtype of BaseActivity representing the activity type to handle.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 - Filter to use to filter out the activitiesmarkAsRead - A list of activity ids to be marked as read.markAsSeen - A list of activity ids to be marked as seen.IOException - in case of network/socket exceptionsStreamClientException - in case of functional or server-side exceptionStreamResponse<NotificationActivity<T>> getActivities(FeedFilter filter, boolean markAsRead, boolean markAsSeen) throws IOException, StreamClientException
MarkedActivity as read and/or seen.filter - Filter to use to filter out the activitiesmarkAsRead - 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.IOException - in case of network/socket exceptionsStreamClientException - in case of functional or server-side exceptionStreamResponse<NotificationActivity<T>> getActivities() throws IOException, StreamClientException
IOException - in case of network/socket exceptionsStreamClientException - in case of functional or server-side exceptionCopyright © 2017. All rights reserved.