Enum Class MediaType

java.lang.Object
java.lang.Enum<MediaType>
altitude.integrationServer.types.MediaType
All Implemented Interfaces:
Serializable, Comparable<MediaType>, Constable

public enum MediaType extends Enum<MediaType>
Represents the type of the media.
  • Enum Constant Details

    • NoValue

      public static final MediaType NoValue
      No value is assigned.
    • Email

      public static final MediaType Email
      Email media.
    • Telephony

      public static final MediaType Telephony
      Telephony media.
    • InstantMessaging

      public static final MediaType InstantMessaging
      Instant messaging media.
    • Workflow

      public static final MediaType Workflow
      Workflow media.
    • Social

      public static final MediaType Social
      Social media.
  • Method Details

    • values

      public static MediaType[] 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 MediaType 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
    • value

      public int value()
    • fromValue

      public static MediaType fromValue(int v)