Package com.unblu.sdk.core.model
Enum Class ConversationMessageTextType
- All Implemented Interfaces:
Serializable,Comparable<ConversationMessageTextType>,Constable
Represents the type of a message text. Used primarily for sending messages via the Android SDK API.
For a message to be displayed with Markdown formatting,
the current conversation must be configured to accept Markdown syntax.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA text message that supports Markdown syntax for formatting.A basic text message, without any special formatting. -
Method Summary
Modifier and TypeMethodDescriptionstatic ConversationMessageTextTypeReturns the enum constant of this class with the specified name.static ConversationMessageTextType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SIMPLE_TEXT
A basic text message, without any special formatting. -
MARKDOWN
A text message that supports Markdown syntax for formatting. This feature must be enabled on the server with a configuration property.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-