com.skype
Enum ChatMessage.LeaveReason
java.lang.Object
java.lang.Enum<ChatMessage.LeaveReason>
com.skype.ChatMessage.LeaveReason
- All Implemented Interfaces:
- Serializable, Comparable<ChatMessage.LeaveReason>
- Enclosing class:
- ChatMessage
public static enum ChatMessage.LeaveReason
- extends Enum<ChatMessage.LeaveReason>
Enumeration for LeaveReason.
USER_NOT_FOUND
public static final ChatMessage.LeaveReason USER_NOT_FOUND
- USER_NOT_FOUND - user was not found.
USER_INCAPABLE - user has an older Skype version and cannot join multichat.
ADDER_MUST_BE_FRIEND - recipient accepts messages from contacts only and sender is not in his/her contact list.
ADDED_MUST_BE_AUTHORIZED - recipient accepts messages from authorized users only and sender is not authorized.
UNSUBSCRIBE - participant left chat.
USER_INCAPABLE
public static final ChatMessage.LeaveReason USER_INCAPABLE
ADDER_MUST_BE_FRIEND
public static final ChatMessage.LeaveReason ADDER_MUST_BE_FRIEND
ADDED_MUST_BE_AUTHORIZED
public static final ChatMessage.LeaveReason ADDED_MUST_BE_AUTHORIZED
UNSUBSCRIBE
public static final ChatMessage.LeaveReason UNSUBSCRIBE
values
public static ChatMessage.LeaveReason[] 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.LeaveReason c : ChatMessage.LeaveReason.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.LeaveReason 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.