com.skype.api
Enum Account.CAPABILITYSTATUS

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

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

Account capabability statuses are possible values of Contact class CAPABILITY enumerator, when that enumerator is used in context of account. Compared to Contact class CAPABILITYSTATUS enums, Account class CAPABILITYSTATUS has additional items for subscription expiration warnings.


Enum Constant Summary
CAPABILITY_EXISTS
          Capability is supported by the currently logged in SkypeKit client.
FINAL_EXPIRY_WARNING
          Support for this capability ends today
FIRST_EXPIRY_WARNING
          Support for this capability ends this month (within 30 days)
NO_CAPABILITY
          Capability is not supported by the currently logged in SkypeKit client.
SECOND_EXPIRY_WARNING
          Support for this capability ends this week (within 7 days)
 
Method Summary
static Account.CAPABILITYSTATUS fromString(java.lang.String s)
           
static Account.CAPABILITYSTATUS get(int code)
           
 int getId()
           
static Account.CAPABILITYSTATUS valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Account.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 Account.CAPABILITYSTATUS NO_CAPABILITY
Capability is not supported by the currently logged in SkypeKit client.


CAPABILITY_EXISTS

public static final Account.CAPABILITYSTATUS CAPABILITY_EXISTS
Capability is supported by the currently logged in SkypeKit client.


FIRST_EXPIRY_WARNING

public static final Account.CAPABILITYSTATUS FIRST_EXPIRY_WARNING
Support for this capability ends this month (within 30 days)


SECOND_EXPIRY_WARNING

public static final Account.CAPABILITYSTATUS SECOND_EXPIRY_WARNING
Support for this capability ends this week (within 7 days)


FINAL_EXPIRY_WARNING

public static final Account.CAPABILITYSTATUS FINAL_EXPIRY_WARNING
Support for this capability ends today

Method Detail

values

public static Account.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 (Account.CAPABILITYSTATUS c : Account.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 Account.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 Account.CAPABILITYSTATUS get(int code)

fromString

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


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