Package com.zopim.android.sdk.model
Enum ChatLog.Type
- java.lang.Object
-
- java.lang.Enum<ChatLog.Type>
-
- com.zopim.android.sdk.model.ChatLog.Type
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ChatLog.Type>
- Enclosing class:
- ChatLog
public static enum ChatLog.Type extends java.lang.Enum<ChatLog.Type>
Definition of available chat log types.Chat log represents following chat events:
ChatLog.Type.CHAT_MSG_AGENT
Chat message sent by agentChatLog.Type.CHAT_MSG_VISITOR
Chat message sent by visitorChatLog.Type.CHAT_MSG_TRIGGER
Automated trigger event - @see Triggers DashboardChatLog.Type.CHAT_MSG_SYSTEM
Automated system eventChatLog.Type.MEMBER_JOIN
Someone joins the chatChatLog.Type.MEMBER_LEAVE
Someone leaves the chatChatLog.Type.SYSTEM_OFFLINE
System is offlineChatLog.Type.ACCOUNT_OFFLINE
Account is offlineChatLog.Type.VISITOR_ATTACHMENT
Attachment is uploadedChatLog.Type.CHAT_RATING
Chat rating eventChatLog.Type.UNKNOWN
Chat event type unknown
-
-
Enum Constant Summary
Enum Constants Enum Constant and Description ACCOUNT_OFFLINE
CHAT_MSG_AGENT
CHAT_MSG_SYSTEM
CHAT_MSG_TRIGGER
CHAT_MSG_VISITOR
CHAT_RATING
MEMBER_JOIN
MEMBER_LEAVE
SYSTEM_OFFLINE
UNKNOWN
VISITOR_ATTACHMENT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static ChatLog.Type
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ChatLog.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CHAT_MSG_AGENT
public static final ChatLog.Type CHAT_MSG_AGENT
-
CHAT_MSG_VISITOR
public static final ChatLog.Type CHAT_MSG_VISITOR
-
CHAT_MSG_TRIGGER
public static final ChatLog.Type CHAT_MSG_TRIGGER
-
CHAT_MSG_SYSTEM
public static final ChatLog.Type CHAT_MSG_SYSTEM
-
MEMBER_LEAVE
public static final ChatLog.Type MEMBER_LEAVE
-
MEMBER_JOIN
public static final ChatLog.Type MEMBER_JOIN
-
SYSTEM_OFFLINE
public static final ChatLog.Type SYSTEM_OFFLINE
-
ACCOUNT_OFFLINE
public static final ChatLog.Type ACCOUNT_OFFLINE
-
VISITOR_ATTACHMENT
public static final ChatLog.Type VISITOR_ATTACHMENT
-
CHAT_RATING
public static final ChatLog.Type CHAT_RATING
-
UNKNOWN
public static final ChatLog.Type UNKNOWN
-
-
Method Detail
-
values
public static ChatLog.Type[] 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 (ChatLog.Type c : ChatLog.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ChatLog.Type 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 namejava.lang.NullPointerException
- if the argument is null
-
-