|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Account.PstnCallPolicy>
com.skype.api.Account.PstnCallPolicy
public static enum Account.PstnCallPolicy
Recognized values for the P_PSTNCALLPOLICY property that controls whether (and from whom) this account accepts incoming PSTN calls. Note that since this set of values is associated with a server-side property, you must set that property using Account.SetServersideIntProperty
| Enum Constant Summary | |
|---|---|
ALL_NUMBERS_CAN_CALL
All incoming PSTN calls are accepted. |
|
BUDDY_NUMBERS_CAN_CALL
Only calls from PSTN numbers found in local contact list are accepted. |
|
DISCLOSED_NUMBERS_CAN_CALL
Only PSTN calls that report caller ID are accepted. |
|
| Field Summary | |
|---|---|
static int |
ALL_NUMBERS_CAN_CALL_VALUE
|
static int |
BUDDY_NUMBERS_CAN_CALL_VALUE
|
static int |
DISCLOSED_NUMBERS_CAN_CALL_VALUE
|
| Method Summary | |
|---|---|
EnumConverting |
convert(int from)
|
static Account.PstnCallPolicy |
get(int from)
|
EnumConverting[] |
getArray(int size)
|
EnumConverting |
getDefault()
|
int |
getId()
|
static Account.PstnCallPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Account.PstnCallPolicy[] |
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 |
|---|
public static final Account.PstnCallPolicy ALL_NUMBERS_CAN_CALL
public static final Account.PstnCallPolicy DISCLOSED_NUMBERS_CAN_CALL
public static final Account.PstnCallPolicy BUDDY_NUMBERS_CAN_CALL
| Field Detail |
|---|
public static final int ALL_NUMBERS_CAN_CALL_VALUE
public static final int DISCLOSED_NUMBERS_CAN_CALL_VALUE
public static final int BUDDY_NUMBERS_CAN_CALL_VALUE
| Method Detail |
|---|
public static Account.PstnCallPolicy[] values()
for (Account.PstnCallPolicy c : Account.PstnCallPolicy.values()) System.out.println(c);
public static Account.PstnCallPolicy valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic int getId()
getId in interface EnumConvertingpublic EnumConverting getDefault()
getDefault in interface EnumConvertingpublic EnumConverting convert(int from)
convert in interface EnumConvertingpublic EnumConverting[] getArray(int size)
getArray in interface EnumConvertingpublic static Account.PstnCallPolicy get(int from)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||