|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Account.BUDDYCOUNTPOLICY>
com.skype.api.Account.BUDDYCOUNTPOLICY
public static enum Account.BUDDYCOUNTPOLICY
Recognized values for the P_BUDDYCOUNT_POLICY property that controls whether the number of this user's authorized contacts is visible to other users, either through Account.GetPropNrofAuthedBuddies or Contact.GetPropNrofAuthedBuddies when those instances reference this user. Note that since this set of values is associated with a server-side property, you must set that property using Account.SetServersideIntProperty, like this:
account->SetServersideIntProperty(Account.P_BUDDYCOUNT_POLICY, Account.DISCLOSE_TO_AUTHORIZED);
account->SetServersideIntProperty(Account.P_BUDDYCOUNT_POLICY, Account.DISCLOSE_TO_NOONE );
| Enum Constant Summary | |
|---|---|
DISCLOSE_TO_AUTHORIZED
Authorized remote users can retrieve the number of this user's authorized contacts (Contact.P_NROF_AUTHED_BUDDIES) |
|
DISCLOSE_TO_NOONE
No remote user - regardless their authorization status - can retrieve the number of this user's authorized contacts. |
|
| Method Summary | |
|---|---|
static Account.BUDDYCOUNTPOLICY |
fromString(java.lang.String s)
|
static Account.BUDDYCOUNTPOLICY |
get(int code)
|
int |
getId()
|
static Account.BUDDYCOUNTPOLICY |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Account.BUDDYCOUNTPOLICY[] |
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.BUDDYCOUNTPOLICY DISCLOSE_TO_AUTHORIZED
public static final Account.BUDDYCOUNTPOLICY DISCLOSE_TO_NOONE
| Method Detail |
|---|
public static Account.BUDDYCOUNTPOLICY[] values()
for (Account.BUDDYCOUNTPOLICY c : Account.BUDDYCOUNTPOLICY.values()) System.out.println(c);
public static Account.BUDDYCOUNTPOLICY 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.BUDDYCOUNTPOLICY get(int code)
public static Account.BUDDYCOUNTPOLICY fromString(java.lang.String s)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||