Package com.whatsapp.api.domain.media
Enum Class FileType
- All Implemented Interfaces:
Serializable
,Comparable<FileType>
,Constable
Supported Media Types
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAac file type.Amr file type.Doc file type.Docx file type.Jpeg file type.Mp 4 file type.Mp 4 video file type.Mpeg file type.Ogg file type.Opus file type.Pdf file type.Png file type.Ppt file type.Pptx file type.Text file type.3gp file type.Webp file type.Xls file type.Xlsx file type. -
Method Summary
-
Enum Constant Details
-
JPEG
Jpeg file type. -
PNG
Png file type. -
TEXT
Text file type. -
PDF
Pdf file type. -
PPT
Ppt file type. -
DOC
Doc file type. -
XLS
Xls file type. -
DOCX
Docx file type. -
PPTX
Pptx file type. -
XLSX
Xlsx file type. -
AAC
Aac file type. -
MP4
Mp 4 file type. -
MPEG
Mpeg file type. -
AMR
Amr file type. -
OGG
Ogg file type. -
OPUS
Opus file type. -
MP4_VIDEO
Mp 4 video file type. -
THREEGP
3gp file type. -
WEBP
Webp file type.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getType
Gets type.- Returns:
- the type
-