|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Account.CHATPOLICY>
com.skype.api.Account.CHATPOLICY
public static enum Account.CHATPOLICY
Recognized values for the P_CHAT_POLICY property that controls whether non-authorized users can initiate text chat with the currently logged in account. 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 | |
|---|---|
BUDDIES_OR_AUTHORIZED_CAN_ADD
Only authorized contacts can initiate chat (default policy). |
|
EVERYONE_CAN_ADD
Unauthorized contacts can initiate text chat. |
|
| Method Summary | |
|---|---|
static Account.CHATPOLICY |
fromString(java.lang.String s)
|
static Account.CHATPOLICY |
get(int code)
|
int |
getId()
|
static Account.CHATPOLICY |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Account.CHATPOLICY[] |
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.CHATPOLICY EVERYONE_CAN_ADD
public static final Account.CHATPOLICY BUDDIES_OR_AUTHORIZED_CAN_ADD
| Method Detail |
|---|
public static Account.CHATPOLICY[] values()
for (Account.CHATPOLICY c : Account.CHATPOLICY.values()) System.out.println(c);
public static Account.CHATPOLICY 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()
public static Account.CHATPOLICY get(int code)
public static Account.CHATPOLICY fromString(java.lang.String s)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||