|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Account.AVATARPOLICY>
com.skype.api.Account.AVATARPOLICY
public static enum Account.AVATARPOLICY
Recognized values for the P_AVATAR_POLICY property that controls whether remote contacts can view local account's avatar image. Note that since this set of values is associated with a server-side property, you must set that property using Account.SetServersideIntPropertyserver-side.
Note that setting account's AVATAR_POLICY to BUDDIES_OR_AUTHORIZED_CAN_SEE does not guarantee that remote users will be able to immediately retrieve the avatar picture via corresponding Contact object. Avatar changes propagate between clients only when direct sessions between clients are established. Direct sessions are established during live sessions or whilst online contacts are engaged in chat.
| Enum Constant Summary | |
|---|---|
BUDDIES_OR_AUTHORIZED_CAN_SEE
Only authorized remote users can see this user's avatar image |
|
EVERYONE_CAN_SEE
Everyone can see this user's avatar image, once the contact/account avatar property has been synchronized during a direct session. |
|
| Method Summary | |
|---|---|
static Account.AVATARPOLICY |
fromString(java.lang.String s)
|
static Account.AVATARPOLICY |
get(int code)
|
int |
getId()
|
static Account.AVATARPOLICY |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Account.AVATARPOLICY[] |
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.AVATARPOLICY BUDDIES_OR_AUTHORIZED_CAN_SEE
public static final Account.AVATARPOLICY EVERYONE_CAN_SEE
| Method Detail |
|---|
public static Account.AVATARPOLICY[] values()
for (Account.AVATARPOLICY c : Account.AVATARPOLICY.values()) System.out.println(c);
public static Account.AVATARPOLICY 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.AVATARPOLICY get(int code)
public static Account.AVATARPOLICY fromString(java.lang.String s)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||