com.skype.api
Enum Account.PhoneNumbersPolicy
java.lang.Object
java.lang.Enum<Account.PhoneNumbersPolicy>
com.skype.api.Account.PhoneNumbersPolicy
- All Implemented Interfaces:
- EnumConverting, java.io.Serializable, java.lang.Comparable<Account.PhoneNumbersPolicy>
- Enclosing class:
- Account
public static enum Account.PhoneNumbersPolicy
- extends java.lang.Enum<Account.PhoneNumbersPolicy>
- implements EnumConverting
Recognized values for the P_PHONENUMBERSPOLICY property that controls whether unauthorized remote users can see associated phone numbers in their UI (for reference, see the different phone number tabs in Windows desktop Client contact view). Note that since this set of values is associated with a server-side property, you must set that property using Account.SetServersideIntProperty
| 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 |
PHONENUMBERS_VISIBLE_FOR_BUDDIES
public static final Account.PhoneNumbersPolicy PHONENUMBERS_VISIBLE_FOR_BUDDIES
- Only authorized contacts can see the phone numbers.
PHONENUMBERS_VISIBLE_FOR_EVERYONE
public static final Account.PhoneNumbersPolicy PHONENUMBERS_VISIBLE_FOR_EVERYONE
- Everyone can see the phone numbers.
PHONENUMBERS_VISIBLE_FOR_BUDDIES_VALUE
public static final int PHONENUMBERS_VISIBLE_FOR_BUDDIES_VALUE
- See Also:
- Constant Field Values
PHONENUMBERS_VISIBLE_FOR_EVERYONE_VALUE
public static final int PHONENUMBERS_VISIBLE_FOR_EVERYONE_VALUE
- See Also:
- Constant Field Values
values
public static Account.PhoneNumbersPolicy[] 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.PhoneNumbersPolicy c : Account.PhoneNumbersPolicy.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.PhoneNumbersPolicy 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()
- Specified by:
getId in interface EnumConverting
getDefault
public EnumConverting getDefault()
- Specified by:
getDefault in interface EnumConverting
convert
public EnumConverting convert(int from)
- Specified by:
convert in interface EnumConverting
getArray
public EnumConverting[] getArray(int size)
- Specified by:
getArray in interface EnumConverting
get
public static Account.PhoneNumbersPolicy get(int from)
Copyright © 2010, 2011 Skype Technologies. All Rights Reserved.