com.skype
Enum ChatMessage.Type
java.lang.Object
java.lang.Enum<ChatMessage.Type>
com.skype.ChatMessage.Type
- All Implemented Interfaces:
- Serializable, Comparable<ChatMessage.Type>
- Enclosing class:
- ChatMessage
public static enum ChatMessage.Type
- extends Enum<ChatMessage.Type>
Enumeration for type.
SETTOPIC
public static final ChatMessage.Type SETTOPIC
- SETTOPIC - change of chat topic.
SAID - IM.
ADDEDMEMBERS - invited someone to chat.
SAWMEMBERS - chat participant has seen other members.
CREATEDCHATWITH - chat to multiple people is created.
LEFT - someone left chat; can also be a notification if somebody cannot be added to chat.
UNKNOWN - other.
SAID
public static final ChatMessage.Type SAID
ADDEDMEMBERS
public static final ChatMessage.Type ADDEDMEMBERS
SAWMEMBERS
public static final ChatMessage.Type SAWMEMBERS
CREATEDCHATWITH
public static final ChatMessage.Type CREATEDCHATWITH
LEFT
public static final ChatMessage.Type LEFT
UNKNOWN
public static final ChatMessage.Type UNKNOWN
values
public static ChatMessage.Type[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (ChatMessage.Type c : ChatMessage.Type.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ChatMessage.Type valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
Copyright © 2004-2011. All Rights Reserved.