|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Participant.TextStatus>
com.skype.api.Participant.TextStatus
public static enum Participant.TextStatus
Recognized values for the P_TEXT_STATUS property. The P_TEXT_STATUS property has two uses. Firstly, you can use it to implement typing indicators in your UI, to notify the local user that an incoming chat message from this Participant is imminent. To set the P_TEXT_STATUS value, so that remote client UIs can display the local user's typing indicator in their UI, use Conversation.SetMyTextStatusTo method. Transmission of P_TEXT_STATUS updates to remote participants of conversations is controlled via SETUPKEY_DISABLE_CHAT_ACTIVITY_INDICATION setup key. Secondly, the TEXT_NA value enables you to detect participants who are running clients with no chat capability.
| Enum Constant Summary | |
|---|---|
READING
Participant is currently not typing. |
|
TEXT_NA
Text status is not applicable as the participant is using a Skype client that does not support chat (for example: voice-only USB phones). |
|
TEXT_UNKNOWN
Fallback state in case the text status is not (yet) deternmined. |
|
WRITING
Participant is currently typing. |
|
WRITING_AS_ANGRY
This state should be set when following two conditions are true: - interval between keypresses are less than 20 ms; - at least one of the keys adjacent to current key are pressed down. |
|
WRITING_AS_CAT
The "Cat on keyboard detection" algorthm in Skype is implemented in the UI level, and as such is not present in the SkypeKit API. |
|
| Field Summary | |
|---|---|
static int |
READING_VALUE
|
static int |
TEXT_NA_VALUE
|
static int |
TEXT_UNKNOWN_VALUE
|
static int |
WRITING_AS_ANGRY_VALUE
|
static int |
WRITING_AS_CAT_VALUE
|
static int |
WRITING_VALUE
|
| Method Summary | |
|---|---|
EnumConverting |
convert(int from)
|
static Participant.TextStatus |
get(int from)
|
EnumConverting[] |
getArray(int size)
|
EnumConverting |
getDefault()
|
int |
getId()
|
static Participant.TextStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Participant.TextStatus[] |
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 Participant.TextStatus TEXT_UNKNOWN
public static final Participant.TextStatus TEXT_NA
public static final Participant.TextStatus READING
public static final Participant.TextStatus WRITING
public static final Participant.TextStatus WRITING_AS_ANGRY
public static final Participant.TextStatus WRITING_AS_CAT
| Field Detail |
|---|
public static final int TEXT_UNKNOWN_VALUE
public static final int TEXT_NA_VALUE
public static final int READING_VALUE
public static final int WRITING_VALUE
public static final int WRITING_AS_ANGRY_VALUE
public static final int WRITING_AS_CAT_VALUE
| Method Detail |
|---|
public static Participant.TextStatus[] values()
for (Participant.TextStatus c : Participant.TextStatus.values()) System.out.println(c);
public static Participant.TextStatus 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()
getId in interface EnumConvertingpublic EnumConverting getDefault()
getDefault in interface EnumConvertingpublic EnumConverting convert(int from)
convert in interface EnumConvertingpublic EnumConverting[] getArray(int size)
getArray in interface EnumConvertingpublic static Participant.TextStatus get(int from)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||