Enum Class MediaMessageType

java.lang.Object
java.lang.Enum<MediaMessageType>
it.auties.whatsapp.model.message.model.MediaMessageType
All Implemented Interfaces:
it.auties.protobuf.api.model.ProtobufMessage, Serializable, Comparable<MediaMessageType>, Constable

public enum MediaMessageType extends Enum<MediaMessageType> implements it.auties.protobuf.api.model.ProtobufMessage
The constants of this enumerated type describe the various types of media type that a MediaMessage can hold
  • Enum Constant Details

  • Method Details

    • values

      public static MediaMessageType[] 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 MediaMessageType 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
    • path

      public String path()
      Returns the path for an encrypted url
      Returns:
      a non-null string
    • keyName

      public String keyName()
      Returns the path for an encrypted url
      Returns:
      a non-null string
    • defaultMimeType

      public String defaultMimeType()
      The default mime type for this enumerated type. Might be right, might be wrong, who knows.