com.skype
Enum ChatMessage.LeaveReason

java.lang.Object
  extended by java.lang.Enum<ChatMessage.LeaveReason>
      extended by 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.


Enum Constant Summary
ADDED_MUST_BE_AUTHORIZED
           
ADDER_MUST_BE_FRIEND
           
UNSUBSCRIBE
           
USER_INCAPABLE
           
USER_NOT_FOUND
          USER_NOT_FOUND - user was not found.
 
Method Summary
static ChatMessage.LeaveReason valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ChatMessage.LeaveReason[] 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

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
Method Detail

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.