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.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      TOP

      Message that is the first message in the group at the top.

      MIDDLE

      Message that has another message both at the top and bottom of it.

      BOTTOM

      Message that's the last message in the group, at the bottom.

      NONE

      Message that is not in a group.

    • Method Summary

      Modifier and Type Method Description
      final MessagePosition valueOf(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.
      • Methods inherited from class kotlin.Enum

        getName, getOrdinal
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • 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.