com.skype.api
Enum Contact.CAPABILITYSTATUS

java.lang.Object
  extended by java.lang.Enum<Contact.CAPABILITYSTATUS>
      extended by com.skype.api.Contact.CAPABILITYSTATUS
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Contact.CAPABILITYSTATUS>
Enclosing class:
Contact

public static enum Contact.CAPABILITYSTATUS
extends java.lang.Enum<Contact.CAPABILITYSTATUS>

List of possible states of each of the Contact class CAPABILITY items.


Enum Constant Summary
CAPABILITY_EXISTS
          Contact has the capability
CAPABILITY_MIXED
          Contact has occasionally logged in with Skype client that supports the capability.
NO_CAPABILITY
          Contact does not have the capability
 
Method Summary
static Contact.CAPABILITYSTATUS fromString(java.lang.String s)
           
static Contact.CAPABILITYSTATUS get(int code)
           
 int getId()
           
static Contact.CAPABILITYSTATUS valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Contact.CAPABILITYSTATUS[] 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

NO_CAPABILITY

public static final Contact.CAPABILITYSTATUS NO_CAPABILITY
Contact does not have the capability


CAPABILITY_MIXED

public static final Contact.CAPABILITYSTATUS CAPABILITY_MIXED
Contact has occasionally logged in with Skype client that supports the capability. For example, a contact may have Skype client on several machines, only some of which have webcam - in which case CAPABILITY_VIDEO would have its value set as CAPABILITY_MIXED.


CAPABILITY_EXISTS

public static final Contact.CAPABILITYSTATUS CAPABILITY_EXISTS
Contact has the capability

Method Detail

values

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

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

valueOf

public static Contact.CAPABILITYSTATUS valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getId

public int getId()

get

public static Contact.CAPABILITYSTATUS get(int code)

fromString

public static Contact.CAPABILITYSTATUS fromString(java.lang.String s)


Copyright © 2010, 2011 Skype Technologies. All Rights Reserved.