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