BoldChatState
com.boldchat.sdk
Enum BoldChatState
- java.lang.Object
-
- java.lang.Enum<BoldChatState>
-
- com.boldchat.sdk.BoldChatState
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<BoldChatState>
public enum BoldChatState extends java.lang.Enum<BoldChatState>
Created by jefftyson on 6/17/14.
-
-
Enum Constant Summary
Enum Constants Enum Constant and Description ChatActive
ChatEnding
ChatInactive
Error
Finished
Idle
InitialLoading
PostChat
PostChatSending
PreChat
PreChatSending
UnavailableChat
UnavailableChatSending
-
Method Summary
Methods Modifier and Type Method and Description static BoldChatState
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BoldChatState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Idle
public static final BoldChatState Idle
-
InitialLoading
public static final BoldChatState InitialLoading
-
PreChat
public static final BoldChatState PreChat
-
PreChatSending
public static final BoldChatState PreChatSending
-
ChatActive
public static final BoldChatState ChatActive
-
ChatInactive
public static final BoldChatState ChatInactive
-
ChatEnding
public static final BoldChatState ChatEnding
-
PostChat
public static final BoldChatState PostChat
-
PostChatSending
public static final BoldChatState PostChatSending
-
UnavailableChat
public static final BoldChatState UnavailableChat
-
UnavailableChatSending
public static final BoldChatState UnavailableChatSending
-
Finished
public static final BoldChatState Finished
-
Error
public static final BoldChatState Error
-
-
Method Detail
-
values
public static BoldChatState[] 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 (BoldChatState c : BoldChatState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BoldChatState 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
-
-