|
|||||||||
| 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_LIVE_SESSION
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_LIVE_SESSION
A live session started |
|
| Field Summary | |
|---|---|
static int |
ADDED_APPLICANTS_VALUE
|
static int |
ADDED_CONSUMERS_VALUE
|
static int |
BLOCKED_VALUE
|
static int |
ENDED_LIVE_SESSION_VALUE
|
static int |
GRANTED_AUTH_VALUE
|
static int |
HAS_BIRTHDAY_VALUE
|
static int |
POSTED_ALERT_VALUE
|
static int |
POSTED_CONTACTS_VALUE
|
static int |
POSTED_EMOTE_VALUE
|
static int |
POSTED_FILES_VALUE
|
static int |
POSTED_INVOICE_VALUE
|
static int |
POSTED_SMS_VALUE
|
static int |
POSTED_TEXT_VALUE
|
static int |
POSTED_VOICE_MESSAGE_VALUE
|
static int |
REQUESTED_AUTH_VALUE
|
static int |
RETIRED_OTHERS_VALUE
|
static int |
RETIRED_VALUE
|
static int |
SET_METADATA_VALUE
|
static int |
SET_RANK_VALUE
|
static int |
SPAWNED_CONFERENCE_VALUE
|
static int |
STARTED_LIVE_SESSION_VALUE
|
| Method Summary | |
|---|---|
EnumConverting |
convert(int from)
|
static Message.Type |
get(int from)
|
EnumConverting[] |
getArray(int size)
|
EnumConverting |
getDefault()
|
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_LIVE_SESSION
public static final Message.Type ENDED_LIVE_SESSION
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
| Field Detail |
|---|
public static final int SET_METADATA_VALUE
public static final int SPAWNED_CONFERENCE_VALUE
public static final int ADDED_CONSUMERS_VALUE
public static final int ADDED_APPLICANTS_VALUE
public static final int RETIRED_OTHERS_VALUE
public static final int RETIRED_VALUE
public static final int SET_RANK_VALUE
public static final int STARTED_LIVE_SESSION_VALUE
public static final int ENDED_LIVE_SESSION_VALUE
public static final int REQUESTED_AUTH_VALUE
public static final int GRANTED_AUTH_VALUE
public static final int BLOCKED_VALUE
public static final int POSTED_TEXT_VALUE
public static final int POSTED_EMOTE_VALUE
public static final int POSTED_CONTACTS_VALUE
public static final int POSTED_SMS_VALUE
public static final int POSTED_ALERT_VALUE
public static final int POSTED_VOICE_MESSAGE_VALUE
public static final int POSTED_FILES_VALUE
public static final int POSTED_INVOICE_VALUE
public static final int HAS_BIRTHDAY_VALUE
| 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()
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 Message.Type get(int from)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||