|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<SubscriptionType> com.google.appengine.api.xmpp.SubscriptionType
public enum SubscriptionType
Values for the 'type' attributes used for presence subscription.
These are only types from stanzas dealing with subscriptions. Types
used for presence information are enumerated in PresenceType
even though they are both communicated via presence
stanzas.
Enum Constant Summary | |
---|---|
SUBSCRIBE
Signals that a contact has requested a subscription. |
|
SUBSCRIBED
Signals that a contact has accepted a request for subscription. |
|
UNSUBSCRIBE
Signals that a contact is requesting an end to a subscription. |
|
UNSUBSCRIBED
Signals that a contact has ended a subscription. |
Method Summary | |
---|---|
static SubscriptionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static SubscriptionType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, 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 SubscriptionType SUBSCRIBE
public static final SubscriptionType SUBSCRIBED
public static final SubscriptionType UNSUBSCRIBE
public static final SubscriptionType UNSUBSCRIBED
Method Detail |
---|
public static SubscriptionType[] values()
for (SubscriptionType c : SubscriptionType.values()) System.out.println(c);
public static SubscriptionType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |