|
Smack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<SubscribeOptionFields>
org.jivesoftware.smackx.pubsub.SubscribeOptionFields
public enum SubscribeOptionFields
Defines the possible field options for a subscribe options form as defined by Section 16.4.2.
| Enum Constant Summary | |
|---|---|
deliver
Whether an entity wants to receive or disable notifications |
|
digest
Whether an entity wants to receive digests (aggregations) of notifications or all notifications individually. |
|
digest_frequency
The minimum number of seconds between sending any two notifications digests |
|
expire
The DateTime at which a leased subsscription will end ro has ended. |
|
include_body
Whether an entity wants to receive an XMPP message body in addition to the payload format. |
|
show_values
The presence states for which an entity wants to receive notifications. |
|
subscription_depth
Value: |
|
subscription_type
Value: |
|
| Method Summary | |
|---|---|
String |
getFieldName()
|
static SubscribeOptionFields |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SubscribeOptionFields |
valueOfFromElement(String elementName)
|
static SubscribeOptionFields[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final SubscribeOptionFields deliver
Value: boolean
public static final SubscribeOptionFields digest
Value: boolean
public static final SubscribeOptionFields digest_frequency
Value: int
public static final SubscribeOptionFields expire
Value: Calendar
public static final SubscribeOptionFields include_body
Value: boolean
public static final SubscribeOptionFields show_values
Value: PresenceState
public static final SubscribeOptionFields subscription_type
Value:
public static final SubscribeOptionFields subscription_depth
Value:
| Method Detail |
|---|
public static SubscribeOptionFields[] values()
for (SubscribeOptionFields c : SubscribeOptionFields.values()) System.out.println(c);
public static SubscribeOptionFields valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String getFieldName()
public static SubscribeOptionFields valueOfFromElement(String elementName)
|
Smack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||