com.skype.api
Enum Account.SKYPECALLPOLICY

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

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

Recognized values for the P_SKYPECALLPOLICY property that controls acceptance of incoming Skype calls. Note that since this set of values is associated with a server-side property, you must set that property using Account.SetServersideIntPropertyserver-side.


Enum Constant Summary
BUDDIES_OR_AUTHORIZED_CAN_CALL
          Skype calls not accepted from unauthorized contacts.
EVERYONE_CAN_CALL
          Skype calls accepted from unauthorized contacts.
 
Method Summary
static Account.SKYPECALLPOLICY fromString(java.lang.String s)
           
static Account.SKYPECALLPOLICY get(int code)
           
 int getId()
           
static Account.SKYPECALLPOLICY valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Account.SKYPECALLPOLICY[] 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

EVERYONE_CAN_CALL

public static final Account.SKYPECALLPOLICY EVERYONE_CAN_CALL
Skype calls accepted from unauthorized contacts.


BUDDIES_OR_AUTHORIZED_CAN_CALL

public static final Account.SKYPECALLPOLICY BUDDIES_OR_AUTHORIZED_CAN_CALL
Skype calls not accepted from unauthorized contacts.

Method Detail

values

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

fromString

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


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