Enum MessagePosition
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum MessagePosition extends Enum<MessagePosition>
Represents the group position of a message, if the message is in a group. Otherwise represented as NONE.
Used to define the shape of the message as well as other UI styling.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringnameprivate final Integerordinalprivate final EnumEntries<MessagePosition>entries
-
Enum Constant Summary
Enum Constants Enum Constant Description TOPMessage that is the first message in the group at the top.
MIDDLEMessage that has another message both at the top and bottom of it.
BOTTOMMessage that's the last message in the group, at the bottom.
NONEMessage that is not in a group.
-
Method Summary
Modifier and Type Method Description final MessagePositionvalueOf(String value)Returns the enum constant of this type with the specified name. final Array<MessagePosition>values()Returns an array containing the constants of this enum type, in the order they're declared. final EnumEntries<MessagePosition>getEntries()Represents the group position of a message, if the message is in a group. -
-
Method Detail
-
valueOf
final MessagePosition valueOf(String value)
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.)
-
values
final Array<MessagePosition> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getEntries
final EnumEntries<MessagePosition> getEntries()
Represents the group position of a message, if the message is in a group. Otherwise represented as NONE.
Used to define the shape of the message as well as other UI styling.
-
-
-
-