public static class TopicNotifyTopicHandler.SelectionMode
extends com.pushtechnology.mobile.enums.Enum
Topic ranges are specified or updated using
TopicNotifyTopicHandler.select(TopicNotifyTopicHandler.SelectionMode, String)
.
Modifier and Type | Field and Description |
---|---|
static TopicNotifyTopicHandler.SelectionMode |
ADD
This indicates that the specified set of topic names and/or
selectors should be added to any existing selection.
|
static TopicNotifyTopicHandler.SelectionMode |
CLEAR
Specifies that all current selections should be removed.
|
static TopicNotifyTopicHandler.SelectionMode |
REMOVE
Specifies that the specified set of topic names and/or selectors
should be removed from the current set of selections.
|
static TopicNotifyTopicHandler.SelectionMode |
REPLACE
This indicates that the specified set of topic names and/or
selectors should replace any current selections.
|
Modifier and Type | Method and Description |
---|---|
static TopicNotifyTopicHandler.SelectionMode |
fromCode(String code)
Returns SelectionMode enum from code value.
|
String |
getCode()
Returns the code used in messages.
|
public static final TopicNotifyTopicHandler.SelectionMode ADD
public static final TopicNotifyTopicHandler.SelectionMode REPLACE
public static final TopicNotifyTopicHandler.SelectionMode REMOVE
public static final TopicNotifyTopicHandler.SelectionMode CLEAR
public static TopicNotifyTopicHandler.SelectionMode fromCode(String code)
code
- mode codepublic String getCode()
Copyright © 2016 Push Technology Ltd. All Rights Reserved.