Enum TypingOperation

java.lang.Object
java.lang.Enum<TypingOperation>
com.github.jamesnetherton.zulip.client.api.user.TypingOperation
All Implemented Interfaces:
Serializable, Comparable<TypingOperation>

public enum TypingOperation extends Enum<TypingOperation>
Defines a typing operation.
  • Enum Constant Details

    • START

      public static final TypingOperation START
      The user has started to type.
    • STOP

      public static final TypingOperation STOP
      The user has stopped typing.
  • Method Details

    • values

      public static TypingOperation[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static TypingOperation valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<TypingOperation>