public final class NotificationsQuery
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
NotificationsQuery.Filter |
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_LIMIT |
Modifier and Type | Method and Description |
---|---|
NotificationsQuery |
ofAllTypes() |
NotificationsQuery |
ofTypes(java.lang.String... types) |
static NotificationsQuery |
read()
Deprecated.
|
static NotificationsQuery |
readAndUnread()
Deprecated.
|
static NotificationsQuery |
unread()
Deprecated.
|
NotificationsQuery |
withActions(java.lang.String... actions) |
static NotificationsQuery |
withAllStatuses() |
NotificationsQuery |
withFilter(NotificationsQuery.Filter filter,
java.lang.String notificationId)
Load older or newer notifications.
|
NotificationsQuery |
withLimit(int limit) |
static NotificationsQuery |
withStatuses(java.lang.String... statuses) |
public static final int DEFAULT_LIMIT
@Deprecated public static NotificationsQuery readAndUnread()
@Deprecated public static NotificationsQuery read()
@Deprecated public static NotificationsQuery unread()
public static NotificationsQuery withStatuses(java.lang.String... statuses)
public static NotificationsQuery withAllStatuses()
public NotificationsQuery withLimit(int limit)
public NotificationsQuery withFilter(NotificationsQuery.Filter filter, java.lang.String notificationId)
filter
- Filtering mode.notificationId
- Filtering notification.public NotificationsQuery withActions(java.lang.String... actions)
public NotificationsQuery ofAllTypes()
public NotificationsQuery ofTypes(java.lang.String... types)
(c) Copyright GetSocial BV, 2021. All Rights Reserved.