|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Message.TYPE>
com.skype.api.Message.TYPE
public static enum Message.TYPE
The P_TYPE property determines the actual meaning of the Message object. Only Messages of POSTED_TEXT type contain actual text messages. The meaning and content of the rest of the message properties are largely dependant of the value of the Message.P_TYPE.
| Enum Constant Summary | |
|---|---|
ADDED_APPLICANTS
Some users are applying to be added to the conference |
|
ADDED_CONSUMERS
Some users were added to the conference |
|
BLOCKED
User was blocked |
|
ENDED_LIVESESSION
A live session ended |
|
GRANTED_AUTH
User was granted authorization. |
|
HAS_BIRTHDAY
The message represents a Contact birthday notification. |
|
POSTED_ALERT
Deprecated, never sent |
|
POSTED_CONTACTS
The message represents (a set of) contact card(s) posted in the conversation. |
|
POSTED_EMOTE
An emote ('John Doe is laughing', cf /me chat command) |
|
POSTED_FILES
The message represents a (list of) file transfers that were posted in the Conversation with Conversation.PostFiles. |
|
POSTED_INVOICE
Currently unused. |
|
POSTED_SMS
The message represents an SMS object that was posted in the Conversation. |
|
POSTED_TEXT
A text message |
|
POSTED_VOICE_MESSAGE
A voicemail |
|
REQUESTED_AUTH
User requested authorization |
|
RETIRED
User left the conference |
|
RETIRED_OTHERS
User was kicked from the conference |
|
SET_METADATA
Conference metadata were changed |
|
SET_RANK
Changed the rank of a user in the Conversation (multichat administration) |
|
SPAWNED_CONFERENCE
A conference was spawned from this dialog |
|
STARTED_LIVESESSION
A live session started |
|
| Method Summary | |
|---|---|
static Message.TYPE |
fromString(java.lang.String s)
|
static Message.TYPE |
get(int code)
|
int |
getId()
|
static Message.TYPE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Message.TYPE[] |
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 Message.TYPE SET_METADATA
public static final Message.TYPE SPAWNED_CONFERENCE
public static final Message.TYPE ADDED_CONSUMERS
public static final Message.TYPE ADDED_APPLICANTS
public static final Message.TYPE RETIRED_OTHERS
public static final Message.TYPE RETIRED
public static final Message.TYPE SET_RANK
public static final Message.TYPE STARTED_LIVESESSION
public static final Message.TYPE ENDED_LIVESESSION
public static final Message.TYPE REQUESTED_AUTH
public static final Message.TYPE GRANTED_AUTH
public static final Message.TYPE BLOCKED
public static final Message.TYPE POSTED_TEXT
public static final Message.TYPE POSTED_EMOTE
public static final Message.TYPE POSTED_CONTACTS
public static final Message.TYPE POSTED_SMS
public static final Message.TYPE POSTED_ALERT
public static final Message.TYPE POSTED_VOICE_MESSAGE
public static final Message.TYPE POSTED_FILES
public static final Message.TYPE POSTED_INVOICE
public static final Message.TYPE HAS_BIRTHDAY
| Method Detail |
|---|
public static Message.TYPE[] values()
for (Message.TYPE c : Message.TYPE.values()) System.out.println(c);
public static Message.TYPE 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 Message.TYPE get(int code)
public static Message.TYPE fromString(java.lang.String s)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||