Enum Class AudienceType

java.lang.Object
java.lang.Enum<AudienceType>
dev.unnm3d.redischat.api.objects.AudienceType
All Implemented Interfaces:
Serializable, Comparable<AudienceType>, Constable

public enum AudienceType extends Enum<AudienceType>
  • Enum Constant Details

    • PLAYER

      public static final AudienceType PLAYER
      Represents a player in the game.
    • CHANNEL

      public static final AudienceType CHANNEL
      Represents a chat channel.
    • DISCORD

      public static final AudienceType DISCORD
      Represents a user/channel on Discord.
  • Method Details

    • values

      public static AudienceType[] 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 AudienceType 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