Enum Decorator.Type.BuiltIn

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      AVATAR

      Decorates the avatar of the message.

      BACKGROUND

      Decorates the background of the message.

      FAILED_INDICATOR

      Decorates the failed indicator.

      FOOTNOTE

      Decorates the footer of the message.

      GAP

      Decorates the gap between messages.

      MAX_POSSIBLE_WIDTH

      Defines max possible width for the message container.

      MESSAGE_CONTAINER_MARGIN

      Defines the margins of the message container.

      PIN_INDICATOR

      Decorates the pinned messages.

      REACTIONS

      Decorates the reactions attached to the message.

      REPLY

      Decorates the replies to the message.

      TEXT

      Decorates the the message text.

    • Method Summary

      Modifier and Type Method Description
      final Decorator.Type.BuiltIn valueOf(String value) Returns the enum constant of this type with the specified name.
      final Array<Decorator.Type.BuiltIn> values() Returns an array containing the constants of this enum type, in the order they're declared.
      final EnumEntries<Decorator.Type.BuiltIn> getEntries() The SDK built-in decorators.
      • 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 Decorator.Type.BuiltIn 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<Decorator.Type.BuiltIn> 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.