Module it.auties.whatsapp4j
Package it.auties.whatsapp.model.info
Enum Class ExternalAdReplyInfo.ExternalAdReplyInfoMediaType
java.lang.Object
java.lang.Enum<ExternalAdReplyInfo.ExternalAdReplyInfoMediaType>
it.auties.whatsapp.model.info.ExternalAdReplyInfo.ExternalAdReplyInfoMediaType
- All Implemented Interfaces:
it.auties.protobuf.base.ProtobufMessage
,Serializable
,Comparable<ExternalAdReplyInfo.ExternalAdReplyInfoMediaType>
,Constable
- Enclosing class:
- ExternalAdReplyInfo
public static enum ExternalAdReplyInfo.ExternalAdReplyInfoMediaType
extends Enum<ExternalAdReplyInfo.ExternalAdReplyInfoMediaType>
implements it.auties.protobuf.base.ProtobufMessage
The constants of this enumerated type describe the various types of media that an ad can wrap
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Enum Constant Details
-
NONE
No media -
IMAGE
Image -
VIDEO
Video
-
-
Field Details
-
index
private final int index
-
-
Constructor Details
-
ExternalAdReplyInfoMediaType
private ExternalAdReplyInfoMediaType(int index)
-
-
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
-
of
-
index
public int index()
-