|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Contact.CAPABILITY>
com.skype.api.Contact.CAPABILITY
public static enum Contact.CAPABILITY
This enumerator is used by both Contact and Account objects. Thus the items here can have slightly different meaning, depending on which context you will examine their values. In case of Contact, the values apply to a user - across all the instances that user has logged in with Skype. In case of Account, the capability is that of a local, currently logged in instance of Skype client.
The values that CAPABILITY items can have are also dependant on class context. In context of Contact, a capability can be CAPABILITY_MIXED. Which in case of CAPABILITY_VIDEO, for example, would mean that the remote use has logged in with different clients, some of which support video calls and some of which don't. In context of Account - there are no mixed result. Currently logged in Skype instance either supports video or it doesn't.
| Enum Constant Summary | |
|---|---|
CAPABILITY_CALL_FORWARD
Indicates that Account/Contact supports call forwarding. |
|
CAPABILITY_CAN_BE_SENT_VM
For contacts, this is a combination of CAPABILITY_VOICEMAIL for local account (local Skype client supports sending voicemails) and CAPABILITY_VOICEMAIL of the Contact - if the contact supports sending voicemails then hopefully they can also receive them. |
|
CAPABILITY_COMMERCIAL_CONTACT
|
|
CAPABILITY_LARGE_CONFERENCE
This is a legacy item, from the old times when conference calls with more than 5 people were limited to SkypePro accounts. |
|
CAPABILITY_MOBILE_DEVICE
Indicates that the instance of Skype client Account/Contact is or in Contact's case has at least occasionally been flagged as a mobile device. |
|
CAPABILITY_PSTN_TRANSFER
Indicates that Account/Contact supports call transfers to PSTN numbers. |
|
CAPABILITY_PUBLIC_CONTACT
|
|
CAPABILITY_SERVICE_PROVIDER
Indicates that the contact/account is flagged as SkypePrime service provider. |
|
CAPABILITY_SKYPEIN
Indicates that the contact/account has SkypeIn and is thus capable of answering PSTN calls. |
|
CAPABILITY_SKYPEOUT
Indicates that the contact/account has SkypeOut and is thus capable of making PSTN calls. |
|
CAPABILITY_TEXT
In context of Contact, this indicates that the user is noticed running at least one Skype implementation that supports text messaging. |
|
CAPABILITY_TEXT_EVER
Indicates that the user has had his chat capability removed by Skype. |
|
CAPABILITY_VIDEO
Indicates that Account/Contact supports call video calls. |
|
CAPABILITY_VOICE_EVER
Indicates that the user (Account or Contact) has had his voice call capability removed by Skype. |
|
CAPABILITY_VOICEMAIL
For Account object, this is the same as CAPABILITY_CAN_BE_SENT_VM - it indicates that the currently logged in Skype instance supports voicemails. |
|
| Method Summary | |
|---|---|
static Contact.CAPABILITY |
fromString(java.lang.String s)
|
static Contact.CAPABILITY |
get(int code)
|
int |
getId()
|
static Contact.CAPABILITY |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Contact.CAPABILITY[] |
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 Contact.CAPABILITY CAPABILITY_VOICEMAIL
public static final Contact.CAPABILITY CAPABILITY_SKYPEOUT
public static final Contact.CAPABILITY CAPABILITY_SKYPEIN
public static final Contact.CAPABILITY CAPABILITY_CAN_BE_SENT_VM
public static final Contact.CAPABILITY CAPABILITY_CALL_FORWARD
public static final Contact.CAPABILITY CAPABILITY_VIDEO
public static final Contact.CAPABILITY CAPABILITY_TEXT
public static final Contact.CAPABILITY CAPABILITY_SERVICE_PROVIDER
public static final Contact.CAPABILITY CAPABILITY_LARGE_CONFERENCE
public static final Contact.CAPABILITY CAPABILITY_COMMERCIAL_CONTACT
public static final Contact.CAPABILITY CAPABILITY_PSTN_TRANSFER
public static final Contact.CAPABILITY CAPABILITY_TEXT_EVER
public static final Contact.CAPABILITY CAPABILITY_VOICE_EVER
public static final Contact.CAPABILITY CAPABILITY_MOBILE_DEVICE
public static final Contact.CAPABILITY CAPABILITY_PUBLIC_CONTACT
| Method Detail |
|---|
public static Contact.CAPABILITY[] values()
for (Contact.CAPABILITY c : Contact.CAPABILITY.values()) System.out.println(c);
public static Contact.CAPABILITY 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 Contact.CAPABILITY get(int code)
public static Contact.CAPABILITY fromString(java.lang.String s)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||