Enum Class Frame.Command

java.lang.Object
java.lang.Enum<Frame.Command>
dev.pfaff.discordrpc.message.Frame.Command
All Implemented Interfaces:
Serializable, Comparable<Frame.Command>, Constable
Enclosing class:
Frame<A,D>

public static enum Frame.Command extends Enum<Frame.Command>
  • Enum Constant Details

    • DISPATCH

      public static final Frame.Command DISPATCH
    • AUTHORIZE

      public static final Frame.Command AUTHORIZE
    • SUBSCRIBE

      public static final Frame.Command SUBSCRIBE
    • UNSUBSCRIBE

      public static final Frame.Command UNSUBSCRIBE
    • SET_ACTIVITY

      public static final Frame.Command SET_ACTIVITY
    • SEND_ACTIVITY_JOIN_INVITE

      public static final Frame.Command SEND_ACTIVITY_JOIN_INVITE
    • CLOSE_ACTIVITY_REQUEST

      public static final Frame.Command CLOSE_ACTIVITY_REQUEST
  • Field Details

  • Method Details

    • values

      public static Frame.Command[] 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

      public static Frame.Command valueOf(String name)
      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 name
      NullPointerException - if the argument is null