com.skype
Enum User.Status

java.lang.Object
  extended by java.lang.Enum<User.Status>
      extended by com.skype.User.Status
All Implemented Interfaces:
Serializable, Comparable<User.Status>
Enclosing class:
User

public static enum User.Status
extends Enum<User.Status>

The Status enum contains the online status constants of the skype user.

See Also:
User.getOnlineStatus()

Enum Constant Summary
AWAY
          The AWAY constant indicates the skype user is away.
DND
          The DND constant indicates the skype user is in do not disturb mode.
NA
          The NA constant indicates the skype user is not available.
OFFLINE
          The OFFLINE constant indicates the skype user is offline.
ONLINE
          The ONLINE constant indicates the skype user is online.
SKYPEME
          The SKYPEME constant indicates the skype user is in SkypeMe mode.
SKYPEOUT
          The SKYPEOUT constant indicates the skype user is in SkypeOut mode.
UNKNOWN
          The UNKNOWN constant indicates the skype user status is unknown.
 
Method Summary
static User.Status valueOf(String name)
          Returns the enum constant of this type with the specified name.
static User.Status[] 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

UNKNOWN

public static final User.Status UNKNOWN
The UNKNOWN constant indicates the skype user status is unknown.


OFFLINE

public static final User.Status OFFLINE
The OFFLINE constant indicates the skype user is offline.


ONLINE

public static final User.Status ONLINE
The ONLINE constant indicates the skype user is online.


AWAY

public static final User.Status AWAY
The AWAY constant indicates the skype user is away.


NA

public static final User.Status NA
The NA constant indicates the skype user is not available.


DND

public static final User.Status DND
The DND constant indicates the skype user is in do not disturb mode.


SKYPEOUT

public static final User.Status SKYPEOUT
The SKYPEOUT constant indicates the skype user is in SkypeOut mode.


SKYPEME

public static final User.Status SKYPEME
The SKYPEME constant indicates the skype user is in SkypeMe mode.

Method Detail

values

public static User.Status[] 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 (User.Status c : User.Status.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static User.Status 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.