public class NotificationCenterViewBuilder extends ViewBuilder<NotificationCenterViewBuilder>
Modifier and Type | Class and Description |
---|---|
static interface |
NotificationCenterViewBuilder.ActionButtonClickListener |
static interface |
NotificationCenterViewBuilder.NotificationClickListener |
Constructor and Description |
---|
NotificationCenterViewBuilder() |
Modifier and Type | Method and Description |
---|---|
static NotificationCenterViewBuilder |
create() |
NotificationCenterViewBuilder |
setActionButtonClickListener(NotificationCenterViewBuilder.ActionButtonClickListener clickListener)
Sets notification action button click listener.
|
NotificationCenterViewBuilder |
setFilterByActions(java.lang.String... actions)
Sets notification action types to filter list of notifications.
|
NotificationCenterViewBuilder |
setFilterByTypes(java.lang.String... types)
Sets notification types to filter list of notifications.
|
NotificationCenterViewBuilder |
setNotificationClickListener(NotificationCenterViewBuilder.NotificationClickListener clickListener)
Sets notification click listener.
|
setUiActionListener, setViewStateListener, setWindowTitle, show
public static NotificationCenterViewBuilder create()
public NotificationCenterViewBuilder setFilterByTypes(java.lang.String... types)
types
- Notification.NotificationType
.public NotificationCenterViewBuilder setFilterByActions(java.lang.String... actions)
actions
- actions to filter, ActionTypes
public NotificationCenterViewBuilder setNotificationClickListener(NotificationCenterViewBuilder.NotificationClickListener clickListener)
clickListener
- listener to set.public NotificationCenterViewBuilder setActionButtonClickListener(NotificationCenterViewBuilder.ActionButtonClickListener clickListener)
clickListener
- listener to set.(c) Copyright GetSocial BV, 2019. All Rights Reserved.