public enum WhatsAppType extends Enum<WhatsAppType>
| Modifier and Type | Class and Description |
|---|---|
static class |
WhatsAppType.Adapter |
| Enum Constant and Description |
|---|
AUDIO |
BUTTON |
CONTACT |
DOCUMENT |
IMAGE |
INTERACTIVE_BUTTON_REPLY |
INTERACTIVE_LIST_REPLY |
LOCATION |
ORDER |
STICKER |
TEXT |
UNSUPPORTED |
VIDEO |
VOICE |
| Modifier and Type | Method and Description |
|---|---|
static WhatsAppType |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static WhatsAppType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WhatsAppType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WhatsAppType TEXT
public static final WhatsAppType IMAGE
public static final WhatsAppType DOCUMENT
public static final WhatsAppType STICKER
public static final WhatsAppType LOCATION
public static final WhatsAppType CONTACT
public static final WhatsAppType VIDEO
public static final WhatsAppType VOICE
public static final WhatsAppType AUDIO
public static final WhatsAppType BUTTON
public static final WhatsAppType INTERACTIVE_BUTTON_REPLY
public static final WhatsAppType INTERACTIVE_LIST_REPLY
public static final WhatsAppType ORDER
public static final WhatsAppType UNSUPPORTED
public static WhatsAppType[] values()
for (WhatsAppType c : WhatsAppType.values()) System.out.println(c);
public static WhatsAppType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getValue()
public String toString()
toString in class Enum<WhatsAppType>public static WhatsAppType fromValue(String value)
Copyright © 2022. All rights reserved.