public enum WhatsAppPhoneType extends Enum<WhatsAppPhoneType>
| Modifier and Type | Class and Description |
|---|---|
static class |
WhatsAppPhoneType.Adapter |
| Modifier and Type | Method and Description |
|---|---|
static WhatsAppPhoneType |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static WhatsAppPhoneType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WhatsAppPhoneType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WhatsAppPhoneType CELL
public static final WhatsAppPhoneType MAIN
public static final WhatsAppPhoneType IPHONE
public static final WhatsAppPhoneType HOME
public static final WhatsAppPhoneType WORK
public static WhatsAppPhoneType[] values()
for (WhatsAppPhoneType c : WhatsAppPhoneType.values()) System.out.println(c);
public static WhatsAppPhoneType 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<WhatsAppPhoneType>public static WhatsAppPhoneType fromValue(String value)
Copyright © 2022. All rights reserved.